網絡問題-telnet測試端口不通提示"NO ROUTE TO HOST"
問題現象
]# ping 10.xxx.xxx.xxx #正常
]# telnet 10.xxx.xxx.xxx 10050
Trying 10.xxx.xxx.xxx...
telnet: connect to address 10.xxx.xxx.xxx: No route to host
解決辦法
-
檢查本機防火牆配置
- 檢查發現本機防火牆未開啟
-
檢查目標服務器防火牆配置
-
檢查發現是防火牆屏蔽10050端口
-
添加規則打通10050端口
]# iptables -I INPUT -s ip(根據自己實際情況填寫) -p tcp --dport=80 -j ACCEPT
-