Comment 9 for bug 370542

Andreas Olsson (andol) wrote :

@Jonathan: You are right, I should test more and speculate less. I guess I got a bit carried away. Thanks for pointing it out.

Regarding the part of listening on ipv6 I actually did some testing, on a server install of 9.04. This is the result I got.

andreas@pc13267v1:~$ sudo netstat -ntlp | grep 80
[sudo] password for andreas:
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 2041/apache2

Now today, testing it on a Desktop install, I get the following interesting results

* Doing a reboot *
andreas@pc13267v5:~$ sudo netstat -ntlp | grep 80
[sudo] password for andreas:
tcp6 0 0 :::80 :::* LISTEN 2438/apache2
andreas@pc13267v5:~$ sudo /etc/init.d/apache2 restart
 * Restarting web server apache2 ... waiting [ OK ]
andreas@pc13267v5:~$ sudo netstat -ntlp | grep 80
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 2814/apache2

(Note that Apache is switching from ipv6 to ipv4 as it is manually restarted)

Removing NetworkManager from my Desktop install, and instead configure eth0 (using dhcp) from /etc/network/interfaces makes my desktop install behave like my server install.

* Doing a reboot *
andreas@pc13267v5:~$ sudo netstat -tlpn | grep 80
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 2545/apache2