2018년 11월 29일 목요일

[APACHE] failed No route to host

[APACHE] failed No route to host



[root@vps ~]# wget http://www.example.com:8080
--2018-11-29 10:37:56--  http://www.example.com:8080/
Resolving www.example.com (www.example.com)... xxx.xxx.xxx.xxx
Connecting to www.example.com (www.example.com)|xxx.xxx.xxx.xxx|:8080... failed: No route to host.

/etc/sysconfig/iptables add rule

-A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 8080 -j ACCEPT