Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I encounter a problem when configure the connection. My computer resides in a LAN, I want to assign it a static IP address.

Thus with the help of port mapping on the router, I will be able to access my box from outside.

I modified the configuration file /etc/sysconfig/network-scripts/ifcfg-eth0 and ifconfig shows a static IP 192.168.1.120 has already been bound to my machine. From another computer in the same LAN, I can ping 192.168.1.120 but fail to access the HTTP server on 192.168.1.120(sure the HTTP service is up).

What may be the problem?

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

Based on your description you are most likely on Redhat/Fedora/CentOS system. If you are on these system goto shell and type ntsysv and select the firewall configuration. You need to allow http in the firewall. I'm sure you can do the same via GUI tool in GNome.

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.