Skip site navigation (1) Skip section navigation (2)

Re: connect from network PC

From: "Robert Morgan" <robert_(at)ihug(dot)co(dot)nz>
To: "postgres" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: connect from network PC
Date: 2004-03-21 05:08:52
Message-ID: 001a01c40f02$9c15eb90$0200a8c0@hyde (view raw or flat)
Thread:
Lists: pgsql-novice
Thanks, everything running ok now


Bob


----- Original Message ----- 
From: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Robert Morgan" <robert_(at)ihug(dot)co(dot)nz>
Cc: <pgsql-novice(at)postgresql(dot)org>
Sent: Saturday, March 20, 2004 2:57 AM
Subject: Re: [NOVICE] connect from network PC


> "Robert Morgan" <robert_(at)ihug(dot)co(dot)nz> writes:
> > Hi I have Postgres installed on a PC running RH9 which is networked to
my o=
> > ther (win2k) PC. I have created a couple of DB's and want to connect to
the=
> > m from my win2k PC using DBTools however I get this error message:
>
> > Loading Server pgsql(at)localhost (PostgreSQL): could not connect to
server: C=
> > onnection refused (0x0000274D/10061)
> >  Is the server running on host 192.168.0.1 and accepting  TCP/IP
connection=
> > s on port 5432?
>
> Did you tell Postgres to accept network connections?  (-i switch on
> postmaster command line, or set tcpip_socket true in postgresql.conf;
> note you must restart postmaster to make this change effective.)  Keep
> in mind also that you will need to change pg_hba.conf to allow such
> connections, but it sounds right now like the postmaster isn't listening
> on the TCP socket at all.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
>
>



In response to

pgsql-novice by date

Next:From: Kevin LohkaDate: 2004-03-21 05:18:32
Subject: Re: Creating Functions & Triggers
Previous:From: Kevin LohkaDate: 2004-03-21 04:51:47
Subject: Re: Creating Functions & Triggers

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group