Can't connect to local Postgres databases
If you want to run more postgres clusters on a single machine, just make sure that they have their own $PGDATA (the location where their data and config files are)
and make sure that in their postgres.conf the parameter for port differ.
port = 2345
listen_addresses='*'

the cluster can share the listen_addresses but not the port. So each must have it's own port number.