Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've set up CentOS 6.x on an old fujitsu server and want to use it as webserver. I can access apache via localhost and 127.0.0.1 and I can already access webmin via port localhost:10000 (whatever that's for ^^) BUT I can't access it via the server's ip adress and my laptop(via LAN over a router). What am I doing wrong? Is that a firewall problem or something?

CentOS is installed on ESXi virtualisation software but I think that shouldn't make any difference...

share|improve this question

1 Answer 1

up vote 0 down vote accepted

In centos 6.x iptables (a firewall) is enabled for default.

"service iptables stop" to stop iptables

If you want open some port on the firewall follow this guide http://www.cyberciti.biz/faq/howto-rhel-linux-open-port-using-iptables/

share|improve this answer
    
Thanks but I still can only access it via localhost and not from another pc in my lan... –  yourmother Apr 22 '12 at 18:52
    
ha, the command "service iptables stop" didn't work but your hint with the firewall was good! found the solution to disable it here: lifelinux.com/… –  yourmother Apr 22 '12 at 18:59

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.