Control: tags -1 moreinfo

Re: Aurélien Pardon
> $ cat /var/log/postgresql/postgresql-14-main.log
> [...]
> 2025-03-06 01:41:03.982 CET [1990] LOG:  could not bind IPv4 address 
> "172.25.2.13": Cannot assign requested address

Hi,

thanks for bringing this up.

I'm not sure changing this would really fix the problem. If wifi is
down, this would either still break, or delay starting the database
indefinitely.

Do you really need to bind to that IP directly? The standard setup
would be `listen_address = '*'`, then startup doesn't need any
specific IP to be available.

There is also the `net.ipv4.ip_nonlocal_bind` sysctl know that you
could enable.

Christoph

Reply via email to