I started postmaster via: ./bin/postmaster -D data -p 7000 &
but why does a telnet localhost 7000 result in a refused connection even though ./bin/psql -p 7000 test postgres works? Connecting via DBD::Pg is failing (with a Connection Refused error --- same thing I get when trying to telnet to the port) and I wanted to try telnetting to debug the problem but telnet results in refused connections. Note that it is _not_ due to a port error as the problems with DBD::Pg connections were also happening when I started postmaster with its default port.