Displaying 1 result from an estimated 1 matches for "nonlocal_bind".
2017 Jan 17
1
disable/mask NetworkManager leads to unit startup fails
...be complete until at least one IP is
on any interface.
If it's your own application and you can set the flags on the actual bind
then you can use so_freebind on the socket opened, some applications may
have this as a compile time or configurable option.
Another option is to enable net.ipv4.ip_nonlocal_bind and
net.ipv6.ip_nonlocal_bind which allows the kernel to bind a socket on an IP
it doesn't have (do note the caveat it may break some things).
https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt
If it's a systemd socket being used by the service then you can enable the
freeb...