1、检查ip是否能访问

ping ip

2、检查端口是否能访问

telnet ip port

3、如果提示 -bash: telnet: command not found,则说明需要安装telnet

yum install telnet