pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedBind PostgreSQL to a specific IP
4+ messages / 4 participants
[nested] [flat]
* Bind PostgreSQL to a specific IP
@ 2004-12-14 15:47 Mário Gamito <gamito@netual.pt>
2004-12-14 15:57 ` Re: Bind PostgreSQL to a specific IP Benjamin GASSMANN <benjamin@actimage.net>
2004-12-14 20:56 ` Re: Bind PostgreSQL to a specific IP Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 2 replies; 4+ messages in thread
From: Mário Gamito @ 2004-12-14 15:47 UTC (permalink / raw)
To: pgsql-admin
Hi,
I've compiled PostgreSQL.
Whenever i start it, it is binded to localhost (netstat -an shows port
5342 binded to 127.0.0.1), but i need it to allow incoming connections
from netowrk 10.10.2.0
How can i do it ?
Any help would be apreciated.
Warm Regards.
--
Mário Gamito
Administração de sistemas e desenvolvimento
Netual - Multimédia e Telecomunicações, Lda.
Rua João Afonso, Nº1
3800-198 Aveiro - Portugal
Tel. +351 234 371 431 / Fax. +351 234 371 438
E-mail: gamito@netual.pt
www.netual.pt
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Bind PostgreSQL to a specific IP
2004-12-14 15:47 Bind PostgreSQL to a specific IP Mário Gamito <gamito@netual.pt>
@ 2004-12-14 15:57 ` Benjamin GASSMANN <benjamin@actimage.net>
2004-12-14 16:44 ` Re: Bind PostgreSQL to a specific IP Michael Fuhr <mike@fuhr.org>
1 sibling, 1 reply; 4+ messages in thread
From: Benjamin GASSMANN @ 2004-12-14 15:57 UTC (permalink / raw)
To: Mário Gamito <gamito@netual.pt>; pgsql-admin
Hi,
have a look at file ph_hba.conf !
Le Tue, 14 Dec 2004 15:47:05 +0000, Mário Gamito <gamito@netual.pt> a
écrit:
> Hi,
>
> I've compiled PostgreSQL.
> Whenever i start it, it is binded to localhost (netstat -an shows port
> 5342 binded to 127.0.0.1), but i need it to allow incoming connections
> from netowrk 10.10.2.0
>
> How can i do it ?
>
> Any help would be apreciated.
>
> Warm Regards.
--
Benjamin GASSMANN
ACTIMAGE
http://www.actimage.net
GSM : 06.80.12.07.66
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Bind PostgreSQL to a specific IP
2004-12-14 15:47 Bind PostgreSQL to a specific IP Mário Gamito <gamito@netual.pt>
2004-12-14 15:57 ` Re: Bind PostgreSQL to a specific IP Benjamin GASSMANN <benjamin@actimage.net>
@ 2004-12-14 16:44 ` Michael Fuhr <mike@fuhr.org>
0 siblings, 0 replies; 4+ messages in thread
From: Michael Fuhr @ 2004-12-14 16:44 UTC (permalink / raw)
To: Benjamin GASSMANN <benjamin@actimage.net>; +Cc: Mário Gamito <gamito@netual.pt>; pgsql-admin
On Tue, Dec 14, 2004 at 04:57:31PM +0100, Benjamin GASSMANN wrote:
> Le Tue, 14 Dec 2004 15:47:05 +0000, Mário Gamito <gamito@netual.pt> a écrit:
> >
> >I've compiled PostgreSQL.
> >Whenever i start it, it is binded to localhost (netstat -an shows port
> >5342 binded to 127.0.0.1), but i need it to allow incoming connections
> >from netowrk 10.10.2.0
>
> have a look at file ph_hba.conf !
Configuring pg_hba.conf won't help if the server isn't accepting
connections on the desired interface. You probably need to make
some changes to postgresql.conf; see the "Connections and Authentication"
section in the "Server Run-time Environment" chapter of the
documentation. Some of the connection settings have changed names
in 8.0, so make sure you're reading the right version of the doc.
--
Michael Fuhr
http://www.fuhr.org/~mfuhr/
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Bind PostgreSQL to a specific IP
2004-12-14 15:47 Bind PostgreSQL to a specific IP Mário Gamito <gamito@netual.pt>
@ 2004-12-14 20:56 ` Tom Lane <tgl@sss.pgh.pa.us>
1 sibling, 0 replies; 4+ messages in thread
From: Tom Lane @ 2004-12-14 20:56 UTC (permalink / raw)
To: Mário Gamito <gamito@netual.pt>; +Cc: pgsql-admin
=?ISO-8859-1?Q?M=E1rio_Gamito?= <gamito@netual.pt> writes:
> Whenever i start it, it is binded to localhost (netstat -an shows port
> 5342 binded to 127.0.0.1), but i need it to allow incoming connections
> from netowrk 10.10.2.0
Perhaps you forgot the -i switch?
The literal answer to your Subject: question is to use the virtual_host
parameter (or listen_addresses, if you're testing 8.0), but I suspect
that's not actually what you need to do.
regards, tom lane
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2004-12-14 20:56 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-12-14 15:47 Bind PostgreSQL to a specific IP Mário Gamito <gamito@netual.pt>
2004-12-14 15:57 ` Benjamin GASSMANN <benjamin@actimage.net>
2004-12-14 16:44 ` Michael Fuhr <mike@fuhr.org>
2004-12-14 20:56 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox