2009-06-13 270 views
2

我有一個試圖連接到Twitter的ASP.NET應用程序。當我嘗試連接時,我收到以下堆棧跟蹤:連接嘗試失敗

 
[SocketException (0x274c): A connection attempt failed because the connected party did not 
properly respond after a period of time, or established connection failed because connected 
host has failed to respond 64.202.165.130:3128] 
    System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress 
socketAddress) +239 
    System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) +35 
    System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket 
s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, 
Int32 timeout, Exception& exception) +224 

[WebException: Unable to connect to the remote server] 
    System.Net.HttpWebRequest.GetResponse() +5313085 

在我身邊一切似乎都正確。我試圖確定,這是Twitter還是我的應用程序的問題?

+1

Twitter確實有很多中斷,但我會繼續檢查你的事情。 – 2009-06-13 21:58:52

回答

0

這可能是任何數量的東西造成這一點,但最有可能的罪魁禍首是:

  • 代理配置 - 如果您使用的是代理,你必須配置連接
  • 防病毒軟件阻止您的應用程序

有對此處配置代理服務器的一些信息(這是關於小提琴手是有效的代理): http://www.west-wind.com/weblog/posts/596348.aspx

相關問題