Comment 1 for bug 12530

Revision history for this message
Martin Pitt (pitti) wrote :

(In reply to comment #0)
> PostgreSQL listens on any interface instead of loopback only by default like
> other servers do.

What do you mean by "other servers"? ssh, exim4, and other server packages
usuall do listen on all interfaces to make them work out of the box. The
exceptions are packages which are installed by default in the "Desktop" task
(like postfix, portmap, and Cups); because of our "zero open ports in the
default install" policy these must be restricted to localhost only.

PostgreSQL is not installed by default, and thus it should listen on all
interfaces. Please note that you cannot connect from non-localhost anyway since
this must explicitly be configured in /etc/postgresql/pg_hba.conf. Requiring the
same kind of configuration in _two_ configuration files is confusing and
unnecessary.