Thread: could not connect to the server error: jdbc problem?
Hi,
I have several java jdbc client applications that connect to my Postgres 8.0.4 server.
"After some days" the server rejects the connections. There are no message in the log file. Only the local connections are permitted.
I have tryed to make a connection with EMS postgresql and I receive the following error:
could not connect to the server: Connection refused (0x0000274D/10061)
Is the server running on host 213.212.159.153 and accepting TCP/IP connections on port 5432?
the LOCAL CONNECTIONS are accepted.
Could be a JDBC problem? It seems that "something" is still open and postgresql can't create a new connection. I had this problem with the older 8.0.x postgres version.
OS is FreeBSD 5.3
Any help will be appreciated.
Thanks.
Looks more like a firewall problem to me.
Dave
On 17-Oct-05, at 7:11 AM, Stefano B. wrote:
Hi,I have several java jdbc client applications that connect to my Postgres 8.0.4 server."After some days" the server rejects the connections. There are no message in the log file. Only the local connections are permitted.I have tryed to make a connection with EMS postgresql and I receive the following error:could not connect to the server: Connection refused (0x0000274D/10061)Is the server running on host 213.212.159.153 and accepting TCP/IP connections on port 5432?the LOCAL CONNECTIONS are accepted.Could be a JDBC problem? It seems that "something" is still open and postgresql can't create a new connection. I had this problem with the older 8.0.x postgres version.OS is FreeBSD 5.3Any help will be appreciated.Thanks.
Dave Cramer wrote: > Looks more like a firewall problem to me. > > > Dave > On 17-Oct-05, at 7:11 AM, Stefano B. wrote: > >> Hi, >> >> I have several java jdbc client applications that connect to my >> Postgres 8.0.4 server. >> "After some days" the server rejects the connections. There are >> no message in the log file. Only the local connections are permitted. >> >> I have tryed to make a connection with EMS postgresql and I receive >> the following error: >> >> could not connect to the server: Connection refused (0x0000274D/10061) >> Is the server running on host 213.212.159.153 and accepting TCP/IP >> connections on port 5432? >> >> >> the LOCAL CONNECTIONS are accepted. >> Could be a JDBC problem? It seems that "something" is still open and >> postgresql can't create a new connection. I had this problem with the >> older 8.0.x postgres version. >> >> OS is FreeBSD 5.3 >> >> Any help will be appreciated. >> Thanks. >> >> >