Saturday, September 23, 2017

Unable to connect Apache in local network from CentOS

First Check
#netstat

# netstat -an | grep :80
tcp        0      0 192.168.1.6:49280           184.26.162.167:80           ESTABLISHED
tcp        0      0 :::80                       :::*                        LISTEN


If you doesn't see port ::80 listen means that may be a firewall issue. CentOS iptables doesn't allow HTTP access by default so check your iptables

#cat /etc/sysconfig/iptables

are you can disable your firewall

#iptables -F
or
#service iptables stop
#checkconfig  iptables off


and check lsof -i -Pn | grep LISTEN

refer here

No comments:

Post a Comment