Welcome! Log In Create A New Profile

Advanced

Re: ipv4 & ipv6 Virtual Hosting - address in use

October 13, 2011 09:56AM
Hi All,
I'm a newbie to nginx and facing similar problem in that I cannot bind IPv6 address (link local or global):

My nginx.conf is like this:

mail {
# auth_http 127.0.0.1:8888/cgi-bin/auth.pl;
# auth_http 127.0.0.1:8888/auth.pl;
auth_http 127.0.0.1:8888/popproxy/auth;
auth_http_header X-Auth-Domain "a-sya.com";
auth_http_header X-PopProxy-Secret "popproxy";
# auth_http_header X-Auth-Domain "ngm1.ocn-test.ne.jp";
auth_http_timeout 15000ms;
# after_auth_http 127.0.0.1:8888/popproxy-auth/;
pop3_auth plain;
pop3_auth apop;
pop3_auth cram-md5;

proxy_pass_error_message on;
server {
listen 10110;
listen 127.0.0.1:10110;
listen [::]:10899;
# link local address
#listen [fe80::20c:29ff:fe86:7e4d]:10499; ***1
# global address
#listen [fd41:28b7:be11:0:20c:29ff:fe86:7e4d]:10119; ***2
protocol pop3;
server_name localhost;
proxy on;
}
}

If I uncomments the line marked "***1" , the following error occurs:
nginx: [emerg] bind() to [fe80::20c:29ff:fe86:7e4d]:10499 failed (22: Invalid argument)
If I uncomments the line marked "***2", the following error occurs:
nginx: [emerg] bind() to [fd41:28b7:be11:0:20c:29ff:fe86:7e4d]:10119 failed (99: Cannot assign requested address)

Could you tell me why these errors occur?
I think simply I forget some important configuration though..

Thanks and regards,
Soichiro MIKI



Maxim Dounin Wrote:

>
> Could you please provide *full config* which
> triggers the problem?
> In particular, full list of server{} blocks with
> their "listen"
> directives.
>
> Maxim Dounin
Subject Author Posted

ipv4 & ipv6 Virtual Hosting - address in use

David J. December 01, 2010 02:36PM

Re: ipv4 & ipv6 Virtual Hosting - address in use

Igor Sysoev December 01, 2010 03:12PM

Re: ipv4 & ipv6 Virtual Hosting - address in use

António P. P. Almeida December 01, 2010 03:20PM

Re: ipv4 & ipv6 Virtual Hosting - address in use

David J. December 01, 2010 03:28PM

Re: ipv4 & ipv6 Virtual Hosting - address in use

Igor Sysoev December 01, 2010 03:34PM

Re: ipv4 & ipv6 Virtual Hosting - address in use

petteyg359 December 26, 2010 03:36PM

Re: ipv4 & ipv6 Virtual Hosting - address in use

Maxim Dounin December 27, 2010 08:44AM

Re: ipv4 & ipv6 Virtual Hosting - address in use

petteyg359 December 27, 2010 10:55AM

Re: ipv4 & ipv6 Virtual Hosting - address in use

Maxim Dounin December 27, 2010 12:12PM

Re: ipv4 & ipv6 Virtual Hosting - address in use

mikiso October 13, 2011 09:56AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 46
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready