Search Postgresql Archives

Re: postgres only in local socket

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In response to Developer <dev002@xxxxxxxxxxxxx>:

> Hello,
> 
> In config:
> 
> > # - Connection Settings -
> > 
> > #listen_addresses = 'localhost'         # what IP address(es) to listen on;
> >                                         # comma-separated list of addresses;
> >                                         # defaults to 'localhost', '*' = all
> >                                         # (change requires restart)
> > #port = 5432                            # (change requires restart)
> > max_connections = 100                   # (change requires restart)
> > # Note:  Increasing max_connections costs ~400 bytes of shared memory per.
> > # connection slot, plus lock space (see max_locks_per_transaction).  You might
> > # also need to raise shared_buffers to support more connections.
> > #superuser_reserved_connections = 3     # (change requires restart)
> > #unix_socket_directory = ''             # (change requires restart)
> > #unix_socket_group = ''                 # (change requires restart)
> > #unix_socket_permissions = 0777         # begin with 0 to use octal notation
> >                                         # (change requires restart)
> > #bonjour_name = ''                      # defaults to the computer name
> >      
> 
> 
> With something like this, I can see using netstat:
> 
> > tcp        0      0 localhost.localdom:postgres *:*                         LISTEN
> > 
> 
> 
> How to "listen" only in local socket?

Uncomment the listen line and fill it with a comma separated list of
IPs to listen on.  Or take Jasen's advice, if that fits your need.

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux