if postmaster is started on a certain port, should I be able to telnet there?
if postmaster is started on a certain port, should I be able to telnet there?
От:
Terrence Brannon <blessed@sv-luka.org>
Дата:
I started postmaster via: ./bin/postmaster -D data -p 7000 & but why is a telnet localhost 7000 result in a refused connection even though ./bin/psql -p 7000 test postgres works? Connecting via DBD::Pg is failing and I wanted to try telnetting to debug the problem but telnet results in refused connections.
Re: if postmaster is started on a certain port, should I be able to telnet there?
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Terrence Brannon writes: > I started postmaster via: > ./bin/postmaster -D data -p 7000 & > but why is a telnet localhost 7000 > result in a refused connection even though > ./bin/psql -p 7000 test postgres > works? You forgot -i, so only Unix-socket connections will be accepted. regards, tom lane