A connection attempt failed..
-
Hi!. I am developing a web based whois lookup page for my site. But while trying to connect to a remote whois database "whois.wildwest.net" and port "43" its showing the error "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". The stack trace is :- [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] System.Net.Sockets.TcpClient.Connect(String hostname, Int32 port) +578 giwia.development.temp.whois.Button2_Click(Object sender, EventArgs e) in c:\inetpub\wwwroot\giwia\development\temp\whois.aspx.cs:65 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +58 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33 System.Web.UI.Page.ProcessRequestMain() +1292 . I am using Framework 1.1. Please help me to solve this problem. Its working in local host. But it cant on web space. Thanx in advance JIJO BABY - Lets Play C#