这个是服务器的防火墙的原因,一般linux防火墙默认是打开的,并且只开放22端口,用于远程连接。 这个时候需要关闭防火墙,或者开放端口。 转载于:https://www.cnblogs.com/mkl34367803/p/8432942.html