Does Linux require you to have an account to access Postgre?
What port
is Postgre listening on and are you trying to attach via
that port?
John Warner
> -----Original Message-----
> From: Vidhya Mangudi [mailto:mail2vidhyaaravind yahoo.com]
> Sent: Friday, September 29, 2006 2:47 PM
> To: aspnet-admin aspadvice.com
> 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
>
Need SQL Advice? http://sqladvice.com
Need RegEx Advice? http://regexadvice.com
Need XML Advice? http://xmladvice.com
|