Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am having a little difficulty accessing pages that are on my server.

Under /var/www/html/ I have an index.html page, and when I try to access it from chrome, it times out.

The permissions on html/ are drwxr-xr-x and I am able to ping the IP just fine.

Do any of you have any suggestions on what could be the possible culprit here?

share|improve this question
    
found the answer, but i'm unable to submit for another 8 hours... run the following commands: service iptables stop; chkconfig iptables off; service httpd restart; –  mohsen Jul 18 '12 at 7:11
add comment

1 Answer

up vote 1 down vote accepted

Just enable access of port 80 with iptables, why would you disable that service ?

# iptables -I INPUT -p tcp --dport 80 -j ACCEPT && service iptables save

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.