Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

newbie with postgresql

Status
Not open for further replies.

zum

Technical User
Mar 31, 2003
148
US
Hi,
I've just installed postgresql7 on my FreeBsd 4.8 server. Everything is running and I've created a small database to test on. The problem is I'm trying to install and windows based program called DBManager and when I try to connect to the server I get the following error message:

server message: could not connect to server: connection
refused (0x0000274D/10061) is the server running on host
172.x.x.x and accepting TCP/IP connections on port 5432?

Any ideas how to fix this.

Thanks,

zum
 
You need to let remote users access postgres, preferably with a username/password, and even more preferably through SSL.

In your data directory, look for these parameters and set them:

Code:
tcpip_socket = true
ssl = true

...

port = 5432

 
well I've changed my postgresql.conf file to what you suggested and the pg_hba.conf file and still no luck. Here is what I have in the pg_hba.conf file.

host all 172.x.x.x 255.255.255.255 trust

Any thing else?

Thanks

Zum
 
thank for you help.. Problem solved.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top