By default, Apache listens on Port 80. You can verify this by looking at the httpd.conf file.
If you aren't sure where it is, use locate httpd.conf
to find it. Then you can use cat /[path to file]/httpd.conf | grep Listen
to see the port without having to read the entire file.
reads the contents of the file. The pipe "|
" "pipes" or sends it to grep
, which extracts the lines containing the word "Listen" [case sensitive] and displays them to the screen. It took me five years to understand the simple elegance of this.)
Also make sure that incoming Port 80 is open in your firewall.
If the ping doesn't work, check your ICMP