June 21, 2018 04:37PM
I have nginx binding to a variety of addresses for ssl and target selection reasons. Now I'm trying to add ipv6 support. Since I'm using specific listen addresses, I wouldn't expect to have a binding conflict, however I am, and I'm hoping someone can point me in the right direction:

server {
listen 207.55.17.79:25;
...
server {
listen [2607:f678::17:79]:25;
...

<mailproxy-lb-01.peak.org> [150] # service nginx restart
Stopping nginx: [FAILED]
Starting nginx: nginx: [emerg] bind() to [2607:f678::17:79]:25 failed (99: Cannot assign requested address)
[FAILED]

The local mail server is only listening on localhost:

tcp 0 0 ::1:25 :::* LISTEN

Commenting out the smtp server config just moves the conflict to the next port in question...

nginx/1.7.6
CentOS release 6.9 (Final)
Subject Author Posted

dual stack binding

abatie June 21, 2018 04:37PM

Re: dual stack binding

Steve Wilson June 21, 2018 05:38PM

Re: dual stack binding

abatie June 21, 2018 05:43PM

Re: dual stack binding

abatie June 21, 2018 05:45PM

Re: dual stack binding

abatie June 21, 2018 06:12PM

Re: dual stack binding

Frank Liu June 21, 2018 06:52PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 183
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