Re: could not bind IPv4 socket - Mailing list pgsql-admin

From Tom Lane
Subject Re: could not bind IPv4 socket
Date
Msg-id 3541.1209490935@sss.pgh.pa.us
Whole thread Raw
In response to could not bind IPv4 socket  ("Balaji Kasthurirangan" <kasthurirangan.balaji@gmail.com>)
Responses Re: could not bind IPv4 socket
List pgsql-admin
"Balaji Kasthurirangan" <kasthurirangan.balaji@gmail.com> writes:
> when i try to start the server i get the following error message

> LOG: could not bind IPv4 socket: Can't assign requested address
> HINT: Is another postmaster already running on port 5432? If not, wait a few
> seconds and retry
> WARNING: could not create listen socket for "localhost"
> FATAL: could not create any TCP/IP sockets

I'm thinking you have a networking or DNS configuration problem.
If you do "nslookup localhost" does it come back with "127.0.0.1"?

            regards, tom lane

pgsql-admin by date:

Previous
From: "e t"
Date:
Subject: server crash, need to restore DB functionality
Next
From: "Scott Marlowe"
Date:
Subject: Re: server crash, need to restore DB functionality