dbTalk Databases Forums  

Re: Starting ProgreSQL server

comp.databases.postgresql.novice comp.databases.postgresql.novice


Discuss Re: Starting ProgreSQL server in the comp.databases.postgresql.novice forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tom Lane
 
Posts: n/a

Default Re: Starting ProgreSQL server - 07-22-2004 , 01:13 PM






"Richard Watt" <warren_tf_mcarthur (AT) hotmail (DOT) com> writes:
Quote:
I tried to create a test database with createdb, and this is the message I get:

createdb: could not connect to database template1: could not connect to server: Connection refused
Is the server running on host <IP address> and accepting
TCP/IP connections on port 5321?
Double check that the postmaster is really listening to 5321 and not
some other port ("netstat -l -n --inet" is a good way). It seems
possible there's a stray PGPORT setting somewhere you didn't notice.

If that's not it, I'd guess that the kernel's ipfilter rules are set to
reject traffic to 5321. You'll need to punch a hole in the firewall
rules.

In any case, "connection refused" is a kernel-level failure message;
your connection request did not get delivered to the postmaster at all.
So you should be looking at generic communications problems rather
than Postgres-specific ideas.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.