Forum Moderators: phranque

Message Too Old, No Replies

could not bind to address 0.0.0.0:80 -- WHY?

         

daktau

11:11 am on Jan 18, 2010 (gmt 0)

10+ Year Member



I am attempting to set up virtual hosts on my apache server.

in etc/apche2/httpd.conf I have
ServerName localhost

if I try lsof -i :80 I get a message that firefox is running so I kill it using the PID and try again and get the same error.

Could anyone tell me what to do to fix this?

daktau

8:45 pm on Jan 18, 2010 (gmt 0)

10+ Year Member



Error quashed!


Listen 80

By commenting out this line in ports.conf in /etc/apache2/ it removed the error and now everything is working as expected.

Can anyone explain why?

cheers,
George