from: https://superuser.com/questions/720851/connection-refused-vs-no-route-to-host/720860

"Connection refused" means that the target machine actively rejected the connection. With port 80 as the context, one of the following things is likely the reason:

  • Nothing is listening on 127.0.0.1:80 and 132.70.6.157:80
  • Nothing is listening on *:80
  • The firewall is blocking the connection with REJECT

So check your Apache and iptables config.

"No route to host" refers to a network problem. It is not a reply from the target machine.

posted on 2017-08-29 09:25  Go_Forward  阅读(568)  评论(0编辑  收藏  举报