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!

Problem connecting to DB server on home network

Status
Not open for further replies.

jwisotsky

Technical User
Jan 8, 2002
1
US

I have installed PostgreSQL on my desktop and I'm trying to get my laptop to be able to connect to it. I previously had the PostgreSQL DB on my laptop and it worked fine. I was able to backup the DB and restore it on the desktop.

I changed the postgresql.conf file to the following
#listen_addresses = "*"

and I added the following line to pg_hba.conf

# host all all 192.168.1.103 trust

192.168.1.103 is the ip of the laptop.

If I try to add the remote DB using pgAdminIII, I get the following error. "Error connecting to the server: could not connect to the server: Connection refused (0x0000274Dx10061)
Is the server running on host "192.168.1.100" and accepting TCP/IP connections on port 5432?


I have disabled my firewall but this doesn't seem to help.

Anyone have any other ideas for me to try?

Thanks,

Jeremy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top