M
M
Mikhail Bazhenov2014-08-12 10:09:20
PostgreSQL
Mikhail Bazhenov, 2014-08-12 10:09:20

Why doesn't PostgreSQL change listen_address?

Hello!
In config

/etc/postgresql/9.3/main/postgresql.conf
I set listen_address = '*'
I restart postgres and it still continues to listen to 127.0.0.1
Debian 7.5 on VirtualBox via Vagrant

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Alex Kheben, 2014-08-12
@zBit

I set listen_address = '*'
I restart postgres and it still continues to listen to 127.0.0.1

Everything is correct "127.0.0.1" matches the criterion "*". Although the question may not be fully worded...

I
Ivan Kiselev, 2014-08-12
@homelessness

Set listen_address = '0.0.0.0'

R
Rorg, 2014-08-25
@Rorg

can you upload a copy of postgresql.conf somewhere and give a link?

N
nick5, 2014-12-02
@nick5

127.0.0.1 is the so-called localhost. It is a loopback virtual network interface.
And you need to turn it off accordingly in the network interfaces if you do not want it to be available, but this is stupid, since half of your services may fall off.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question