Can I make Postgresql to bind to 127.0.0.1:5432, instead of all the available interfaces - Mailing list pgsql-admin

From Uday Singh
Subject Can I make Postgresql to bind to 127.0.0.1:5432, instead of all the available interfaces
Date
Msg-id 8F4C869595CB2744B94BA53F3B7C23F7018CDE@mailhost.ironhide.com
Whole thread Raw
Responses Re: Can I make Postgresql to bind to 127.0.0.1:5432, instead of all the available interfaces  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin

Hi guys,

 

I am trying to figure out if I can get Postgres to bind to only the loop-back interface (127.0.0.1) as apposed to binding to all the available interfaces (0.0.0.0) available on the system.

1. The first question is whether this is feasible at all?

2. If yes, what is the configuration (and where) to enable it.

 

Thanks a lot in advance.

 

- Uday

 

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: How to restore from pg_dumpall output
Next
From: Tom Lane
Date:
Subject: Re: Can I make Postgresql to bind to 127.0.0.1:5432, instead of all the available interfaces