By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,640 Members | 2,194 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,640 IT Pros & Developers. It's quick & easy.

Postmaster is accepting TCP/IP connections error

P: 35
PGDRIVER=org.postgresql.Driver
PGURL=jdbc:postgresql://172.18.1.19:5432/test

I am try to connect to pgsql but i am getting this error in windows XP

Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at org.postgresql.core.v3.ConnectionFactoryImpl.


But if i use
PGURL=jdbc:postgresql://localhost:5432/test its connecting
I came to know that i have to modify some .conf file
Can anyone guide me about this
Its urgent please
Feb 8 '07 #1
Share this Question
Share on Google+
1 Reply


Expert 100+
P: 534
I think you need to look into your access control file: pg_hba.conf
Follow this link for more inforrmation:

http://www.postgresql.org/docs/8.0/i...ntication.html
Feb 8 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.