I\'m using http://postgresapp.com. In the menubar it gives the error \" Could not start on port 5432.\" Similarly if I try to start the server from the terminal, I get:
At a guess, something else had taken port 5432 so the app chose to run on 5433 instead.
Why not just connect to Pg on port 5433, if that's where it's running? You have a /tmp/.s.PGSQL.5432
socket file, so you can connect with psql -p 5433
for UNIX domain socket connections. It'll also be listening on the same port with TCP/IP, so you can use psql -h localhost -p 5433
for TCP/IP and have your apps connect to port 5433 instead of 5432.
Change your .psqlrc
to set the new port as default and you can forget it isn't on the default port.