服务器环境 centos 7.4 问题描述 1.可以ping通IP ,用IP访问nginx 不能访问,在服务器上curl localhost  curl 185.239.226.111可以获得 [root@izm5e16gjdevwdl8q7q3qoz ~]# curl 185.239.226.111curl: (7) Failed connect to 185.239.226.111:80; No route to host 解决办法 iptables -F  清空防火墙配置 这时候查询ipt…
web site : https://opsx.alibaba.com/mirror 运行后出现下面的Error: base//x86_64/other_db FAILED http://mirrors.aliyun.com/centos/7/os/x86_64/repodata/4a963ccbdeb4a9246170341539b5f4816d8a55cc59b65e972ce161da4812b78a-other.sqlite.bz2: [Errno 14] HTTP Error 404…
在yum insatall 安装是报错 Failed connect to mirrors.cloud.aliyuncs.com:80; Connection refused 解决方法: cd /etc/yum.repos.d/ [root@web /etc/yum.repos.d]# sed -i 's/gpgcheck=1/gpgcheck=0/g' /etc/yum.repos.d/CentOS-Base.repo 3) [root@web /etc/yum.repos.d]# cat C…
// :: FATAL namenode.NameNode: Failed to start namenode. org.apache.hadoop.hdfs.qjournal.client.QuorumException: Unable to check successful responses: : false exceptions thrown: : No Route to Host failed on socket timeout exception: java.net.NoRouteT…
原因是 防火墙没有开端口. telnet 测试 3306端口,报错 telnet: connect to address 192.168.120.32: No route to host 再次链接就可以了.…
本博客已经添加"打赏"功能,"打赏"位置位于右边栏红色框中,感谢您赞助的咖啡. # curl http://169.254.169.254/latest/user-data curl: () Failed connect to ; No route to host 解决方案: 重点检查是否是metadata agent出了问题. cd /etc/sysconfig/network-scripts/ ls vim route-eth0 route add -host…
# curl http://169.254.169.254/latest/user-data curl: () Failed connect to ; No route to host 解决方案: cd /etc/sysconfig/network-scripts/ ls vim route-eth0 route add -host 169.254.169.254 gw 10.10.10.1 dev eth0 route -n curl http://169.254.169.254…
问题原因: 其他涉及到http服务的端口全部都改成了81端口.只有 /etc/cobbler/settings 这里没有改. [root@mage-monitor- ~/]#grep -E "port: 81|server: 10" /etc/cobbler/settings http_port: next_server: 10.0.0.201 server: 10.0.0.201 把 http_port: 80 改成81 再重启cobbler. cobbler sync就可以了 命令…
出错现象: [root@localhost ~]# telnet 192.168.1.128 Trying 192.168.1.128...telnet: connect to address 192.168.1.128: No route to host telnet: Unable to connect to remote host: No route to host 解决办法: 在telnet服务器上执行:iptables -F   清除所有规则(太暴力了...)…
Issue: When you create an instance, but cannot connect to the VNC Server because of the error message, "Failed connect to server". Reason: Your nova vnc configuration may be mapped to wrong vnc server. Solution: 1. vi /etc/nova/nova.conf 2. find…