I'm writing a website that I'm having some trouble getting online with a Debian server using Apache2. When I run the site on port 8080 (i.e. www.example.com:8080), the whole thing runs fine and the page is loaded. However, when I tell Apache to use port 80 instead, it doesn't work. When I visit it (i.e. www.example.com), it just seems to load endlessly.
I made sure that port 8080 was changed to port 80 in both /etc/apache2/ports.conf and /etc/apache2/sites-enabled/mysitesfile. I also made sure to restart the apache server after doing this: afterwards, Nmap showed Apache listening on port 80.
I determined earlier that both port 80 and port 8080 were indeed open on the server. So what gives? So long as both port 80 and port 8080 are open, what could be causing a problem where it works on one but not the other? Were there files that needed to be edited that I didn't edit?
Any help would be VERY much appreciated!
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth3, link-type EN10MB (Ethernet), capture size 65535 bytes. Was that what you were looking for? Also, /etc/apache2/httpd.conf appears to be completely empty. – candrews Dec 23 '11 at 22:07netstatshow Apache listening on port 80? What IP is it bound to? Can youtelnetto port 80 from the local machine? From a remote machine? – David Schwartz Dec 24 '11 at 4:08