ping和wget能通,但是telnet则Host is unreachable是怎么回事?

我在一个docker容器内对宿主机器局域网IP测试联通情况

bash-4.4# telnet 192.168.0.94 2377
telnet: can't connect to remote host (192.168.0.94): Host is unreachable
bash-4.4# ping 192.168.0.94
PING 192.168.0.94 (192.168.0.94): 56 data bytes
64 bytes from 192.168.0.94: seq=0 ttl=64 time=0.096 ms
64 bytes from 192.168.0.94: seq=1 ttl=64 time=0.102 ms

ping能通,wget http://192.168.0.94:2377/nacos 也能获取网页,但是telnet则Host is unreachable是怎么回事?
在宿主机器上:

[root@host-machine ~]# telnet 192.168.0.94 2377
Trying 192.168.0.94...
Connected to 192.168.0.94.
Escape character is '^]'.
阅读 602
评论
    3 个回答
    • 13.6k

    端口没有开放啊

      相似问题
      推荐文章