Cannot open a port (80)

Three possible causes:
1. The router is not forwarding port 80, or blocking it actively (internal firewall?)
2. The server has a firewall blocking port 80
3. The ISP is blocking port 80 (not uncommon on consumer Cable/DSL)

Running [cmd=]tcpdump -li $nic dst port 80[/cmd] can reveal incoming http traffic.

And another possibility:
1. You think it doesn't work. Are you actually running Apache/2.2.11 (Ubuntu) PHP/5.2.6-3ubuntu4.1 with Suhosin-Patch? Then it works. At least, that's the banner on the IP address you're posting from. The web page itself says 'It Works!', which is the standard Apache page for new installs. Why it's Ubuntu .. no one knows.
 
DutchDaemon said:
Three possible causes:
2. The server has a firewall blocking port 80

based on that possibility, in freebsd 7.X (that i use), add this line in /etc/pf.conf

Code:
pass in quick on $ext_if inet proto {tcp, udp} from any to $external_addr \
           port 80 flags S/SA keep state

hope this will help you.

B.R.
best
 
Back
Top