Обсуждение: Connection Refused

Поиск
Список
Период
Сортировка

Connection Refused

От
Bruce Hyatt
Дата:
I'm getting a "connection refused" (08004) error when I try to connect from client to pgsql server on a private
network.I get "connect failed" when i run "telnet host port." 

postgresql.conf: listening '*' addresses on port 5432.

pg_hba.conf IPv4:
host    all         all     192.168.1.0   255.255.255.0   trust

iptables isn't dropping anything but is set to REJECT icmp

Could this be because it can't find the service provider?

TIA,
Bruce




Re: Connection Refused

От
Craig Ringer
Дата:
Bruce Hyatt wrote:
> I'm getting a "connection refused" (08004) error when I try to connect from client to pgsql server on a private
network.I get "connect failed" when i run "telnet host port." 
>
> postgresql.conf: listening '*' addresses on port 5432.

Is the postmaster actually shown as listening on the desired address in
`netstat -ltnp' ?

--
Craig Ringer

Re: Connection Refused

От
Bruce Hyatt
Дата:
--- On Fri, 12/19/08, Craig Ringer <craig@postnewspapers.com.au> wrote:

> Bruce Hyatt wrote:
> > I'm getting a "connection refused"
> (08004) error when I try to connect from client to pgsql
> server on a private network. I get "connect
> failed" when i run "telnet host port."
> >
> > postgresql.conf: listening '*' addresses on
> port 5432.
>
> Is the postmaster actually shown as listening on the
> desired address in
> `netstat -ltnp' ?

tcp        0      0 :::5432                     :::*                        LISTEN      -
tcp        0      0 :::443                      :::*                        LISTEN

Could it be ssl?

Bruce