pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedAllowing TCP/IP connections
5+ messages / 4 participants
[nested] [flat]
* Allowing TCP/IP connections
@ 2001-12-31 11:24 Marc <syn_uw@hotmail_NOSPAM.com>
2001-12-31 19:05 ` Re: Allowing TCP/IP connections Tony Reina <reina@nsi.edu>
2002-01-03 13:30 ` Re: Allowing TCP/IP connections Nick Fankhauser <nickf@ontko.com>
2002-01-03 13:44 ` Re: Allowing TCP/IP connections Nick Fankhauser <nickf@ontko.com>
2002-01-03 14:28 ` Re: Allowing TCP/IP connections Jodi Kanter <jkanter@virginia.edu>
0 siblings, 4 replies; 5+ messages in thread
From: Marc @ 2001-12-31 11:24 UTC (permalink / raw)
To: pgsql-admin
In the postgres configuration file, which options do I have to enable to
allow TCP/IP connections:
#
# Connection Parameters
#
#tcpip_socket = false
#ssl = false
#max_connections = 32 # 1-1024
#port = 5432
#hostname_lookup = false
#show_source_port = false
#unix_socket_directory = ''
#unix_socket_group = ''
#unix_socket_permissions = 0777
#virtual_host = ''
#krb_server_keyfile = ''
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Allowing TCP/IP connections
2001-12-31 11:24 Allowing TCP/IP connections Marc <syn_uw@hotmail_NOSPAM.com>
@ 2001-12-31 19:05 ` Tony Reina <reina@nsi.edu>
3 siblings, 0 replies; 5+ messages in thread
From: reina@nsi.edu @ 2001-12-31 19:05 UTC (permalink / raw)
To: pgsql-admin
Marc <syn_uw@hotmail_NOSPAM.com> wrote in message news:<3C304AED.1B28722C@hotmail_NOSPAM.com>...
> In the postgres configuration file, which options do I have to enable to
> allow TCP/IP connections:
>
> #
> # Connection Parameters
> #
> #tcpip_socket = false
> #ssl = false
>
> #max_connections = 32 # 1-1024
>
> #port = 5432
> #hostname_lookup = false
> #show_source_port = false
>
> #unix_socket_directory = ''
> #unix_socket_group = ''
> #unix_socket_permissions = 0777
>
> #virtual_host = ''
>
> #krb_server_keyfile = ''
set "tcpip_socket = true" and take out the "#" comment indicator.
-Tony
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Allowing TCP/IP connections
2001-12-31 11:24 Allowing TCP/IP connections Marc <syn_uw@hotmail_NOSPAM.com>
@ 2002-01-03 13:30 ` Nick Fankhauser <nickf@ontko.com>
3 siblings, 0 replies; 5+ messages in thread
From: Nick Fankhauser @ 2002-01-03 13:30 UTC (permalink / raw)
To: Marc <syn_uw@www2.us.postgresql.org>; pgsql-admin
I think this may have been answered earlier do to mailing list oddities, but
just in case:
Change this:
#tcpip_socket = false
to this:
tcpip_socket = true
You may also need to make some changes in pg_hba.conf to authorize the
connection from a particular host. Although this page is aimed at JDBC folk,
you'll find a description of setting up the database for tcp/ip connections
in it that applies to most situations:
http://www.fankhausers.com/postgresql/jdbc/#tcpip
-Nick
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Allowing TCP/IP connections
2001-12-31 11:24 Allowing TCP/IP connections Marc <syn_uw@hotmail_NOSPAM.com>
@ 2002-01-03 13:44 ` Nick Fankhauser <nickf@ontko.com>
3 siblings, 0 replies; 5+ messages in thread
From: Nick Fankhauser @ 2002-01-03 13:44 UTC (permalink / raw)
To: Marc <syn_uw@www2.us.postgresql.org>; pgsql-admin
I think this may have been answered earlier due to mailing list oddities,
but
just in case:
Change this:
#tcpip_socket = false
to this:
tcpip_socket = true
You may also need to make some changes in pg_hba.conf to authorize the
connection from a particular host. Although this page is aimed at JDBC folk,
you'll find a description of setting up the database for tcp/ip connections
in it that applies to most situations:
http://www.fankhausers.com/postgresql/jdbc/#tcpip
-Nick
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Allowing TCP/IP connections
2001-12-31 11:24 Allowing TCP/IP connections Marc <syn_uw@hotmail_NOSPAM.com>
@ 2002-01-03 14:28 ` Jodi Kanter <jkanter@virginia.edu>
3 siblings, 0 replies; 5+ messages in thread
From: Jodi Kanter @ 2002-01-03 14:28 UTC (permalink / raw)
To: pgsql-admin
tcpip_socket=1 worked for us...
----- Original Message -----
From: "Marc" <syn_uw@www2.us.postgresql.org>
To: <pgsql-admin@postgresql.org>
Sent: Monday, December 31, 2001 6:24 AM
Subject: [ADMIN] Allowing TCP/IP connections
> In the postgres configuration file, which options do I have to enable to
> allow TCP/IP connections:
>
> #
> # Connection Parameters
> #
> #tcpip_socket = false
> #ssl = false
>
> #max_connections = 32 # 1-1024
>
> #port = 5432
> #hostname_lookup = false
> #show_source_port = false
>
> #unix_socket_directory = ''
> #unix_socket_group = ''
> #unix_socket_permissions = 0777
>
> #virtual_host = ''
>
> #krb_server_keyfile = ''
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2002-01-03 14:28 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-12-31 11:24 Allowing TCP/IP connections Marc <syn_uw@hotmail_NOSPAM.com>
2001-12-31 19:05 ` Tony Reina <reina@nsi.edu>
2002-01-03 13:30 ` Nick Fankhauser <nickf@ontko.com>
2002-01-03 13:44 ` Nick Fankhauser <nickf@ontko.com>
2002-01-03 14:28 ` Jodi Kanter <jkanter@virginia.edu>
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