Welcome! Log In Create A New Profile

Advanced

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

Igor Ippolitov
August 03, 2022 05:56AM
Hello,

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

Regards,
Igor.

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@nginx.org
> To unsubscribe send an email to nginx-leave@nginx.org


_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-leave@nginx.org
Subject Author Posted

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

lejeczek via nginx February 12, 2022 05:16AM

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

Francis Daly February 12, 2022 08:28AM

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

lejeczek via nginx February 13, 2022 03:00AM

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

Francis Daly February 13, 2022 06:26AM

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

lejeczek via nginx August 03, 2022 04:52AM

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

Maxim Dounin August 06, 2022 10:50AM

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

Maxim Dounin February 12, 2022 08:32AM

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

Igor Ippolitov August 03, 2022 05:56AM

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

lejeczek via nginx August 03, 2022 07:06AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 256
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready