List Info

Thread: Socket connection failed error




Socket connection failed error
user name
2006-09-29 19:19:00
From the machine you are running your code, try opening a
Telnet session, to
verify you can telnet to the IP:Port

Cheers!
Dave
----- Original Message -----
From: "Vidhya Mangudi" <mail2vidhyaaravindyahoo.com>
To: <aspnet-adminaspadvice.com>
Sent: Friday, September 29, 2006 1:47 PM
Subject: [aspnet-admin] Re: Socket connection failed error


> Hi,
> I'm having socket connection problem in my asp.net2.0
web application in
connecting to Postgres database running on Linux machine.
> The application runs fine on when the
"server=localhost"  in my connection
string.The problem occurs when I use
> the following connection string
>  <add key="connectionString"
value="Server=134.145.1.101;Database=database1;User
ID=temp;Password=temp;"/>
>
>  Error: System.Net.Sockets.SocketException: A
connection attempt failed
becauthe connected party did not properly respond after a
period of time,
>  or estabhed connection failed because connected host
has failed to
respond
>   [exec]    at
System.Net.Sockets.Socket.DoConnect(EndPoint
endPointSnapshot,
>
> I had a look at a similar error in the forum
http://foru
ms.asp.net/thread/1124064.aspx
> I even modified my web.config file to add
<System.net> to disable proxy
settings. but that didn't  help.
> http://we
st-wind.com/weblog/posts/3871.aspx
>
> I am logging in as administrator of the computer and
I'm running the
application.Could anyone please let me know how to solve the
problem.Could
you please let me know if any permissions have to be
modified on the server
machine or client machine?
> I have a deadline coming up for my project and I would
really appreciate
your response.
>
> Thank You very much for your help,
>
> Regards,
> Vidhya
>
> ---------------------------------
> Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone
calls.  Great
rates starting at 1?/min.
>
>
> Need SQL Advice? http://sqladvice.com
> Need RegEx Advice? http://regexadvice.com
> Need XML Advice? http://xmladvice.com
>


Need SQL Advice? http://sqladvice.com
Need RegEx Advice? http://regexadvice.com
Need XML Advice? http://xmladvice.com
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )