listen on IPs but do not fail if one is absent - ?

Igor Ippolitov iippolitov at
Wed Aug 3 09:54:49 UTC 2022


I would give a try to 'net.ipv4.ip_nonlocal_bind' sysctl knob. Set it to 
true and bind() won't fail.


On 12/02/2022 10:11, lejeczek via nginx wrote:
> Hi guys
> a novice here so go easy on me with this question:
> having multiple 'listen' with IPs or, just one 'listen' with a 
> hostname which resolves to more than one IP - is it possible to tell 
> Nginx not fail when one of IPs is absent, does not exist?
> many thanks, L.
> _______________________________________________
> nginx mailing list -- nginx at
> To unsubscribe send an email to nginx-leave at

More information about the nginx mailing list