Thread: tcpip_socket
Hi, I am new to PostgreSQL and I got the error msg "Connection refused Is the server running on host localhost and accepting TCP/IP connections on port postgres?" when I was trying to connect to the database (v7.2) via php. As I read in the docs, I set the tcpip_socket to true in postgresql.conf and restarted the service. But it didn't take any effect. Do I have to do something else? Tks, Wagner
Make sure the database is really running. check with ps auxwww| grep "postgres" , does it showthing that suggest pgsql is running? did you install from rpms or tarball? Regds mallah. > Hi, I am new to PostgreSQL and I got the error msg "Connection refused Is the server running on > host localhost and accepting TCP/IP connections on port postgres?" when I was trying to connect > to the database (v7.2) via php. > > As I read in the docs, I set the tcpip_socket to true in postgresql.conf and restarted the > service. But it didn't take any effect. Do I have to do something else? > > Tks, > > Wagner > > > ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' > the postmaster ----------------------------------------- Get your free web based email at trade-india.com. "India's Leading B2B eMarketplace.!" http://www.trade-india.com/
It was running, the problem was another thing and I've got it. Tks, Wagner -----Original Message----- From: mallah@trade-india.com [mailto:mallah@trade-india.com] Sent: Friday, April 11, 2003 3:45 PM To: Wagner.Camarao@bowneglobal.com.br Cc: pgsql-general@postgresql.org Subject: Re: [GENERAL] tcpip_socket Make sure the database is really running. check with ps auxwww| grep "postgres" , does it showthing that suggest pgsql is running? did you install from rpms or tarball? Regds mallah. > Hi, I am new to PostgreSQL and I got the error msg "Connection refused Is the server running on > host localhost and accepting TCP/IP connections on port postgres?" when I was trying to connect > to the database (v7.2) via php. > > As I read in the docs, I set the tcpip_socket to true in postgresql.conf and restarted the > service. But it didn't take any effect. Do I have to do something else? > > Tks, > > Wagner > > > ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' > the postmaster ----------------------------------------- Get your free web based email at trade-india.com. "India's Leading B2B eMarketplace.!" http://www.trade-india.com/