apache doesnt listen to ipv6

vijai

Verified User
Joined
Jul 22, 2013
Messages
24
Hello,
I have recently added ipv6 to my box and setup dns correctly. I can ping my ipv6 with hostname and all online check tools returns success. When I added ipv6 as additional ip to my domain in directadmin, it does add the ip to httpd config but apache would still not listen to the ip even after multiple server reboots. apache still continues to listen to ipv4.

netstat -tulpn |grep 80 returns:
Code:
tcp        0      0 149.210.171.47:80       0.0.0.0:*               LISTEN      1328/httpd
and there is no ipv6 in there. The custom httpd looks like
Code:
<VirtualHost 149.210.171.47:80 [2a01:7c8:aaac:25a:0:0:0:2]:80 >
........
</VirtualHost>

Why would apache not listen to ipv6 but only ipv4?

Regards,
Vijai
 
Hello Vijai,

What do you see with:

Code:
# grep ^Listen /etc/httpd/conf/httpd.conf
?

And do you have other services bind to IPv6 ?
 
Back
Top