IPv6 with Nginx/Apache

stefantriep

Verified User
Joined
Dec 15, 2012
Messages
71
Location
Haarlem, The Netherlands
Hi,

I have some issues enabling IPv6 on multiple servers with Nginx/Apache config.
Nginx is proxy in front of Apache and on building got this error:

nginx: [emerg] bind() to [IPV6-address]:80 failed (99: Cannot assign requested address).

Already found this: https://help.directadmin.com/item.php?id=691 but got the IPv6 on eth0 and already used startips

ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet IPv4 ADDRESS netmask 255.255.255.128 broadcast IPv4 BROADCAST
inet6 IPv6 LOCAL LINK ADDRESS prefixlen 64 scopeid 0x20<link>
inet6 IPv6 ADDRESS prefixlen 64 scopeid 0x0<global>

netstat:
netstat -lnp | grep ':80'
tcp6 0 0 :::8080 :::* LISTEN 25267/httpd
tcp6 0 0 :::8081 :::* LISTEN 25267/httpd

netstat -lnp | grep ':443'
blank space/no response

On some servers this works perfectly and on some not, but the setup is the same.
 
Sorry for my late reply Brent, but I've looked at the IPv6 howto before and the second link gives me the same info, but this still gives errors.
 
Last edited:
Back
Top