1.使用 telnet (Windows 使用Cmd命令)

telnet 是 Windows标准服务

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

使用方法:

telnet ip port

例如:telnet 192.168.20.153 27017

ip:192.168.20.153

port:27017

 

2.使用 ssh  (Linux)

ssh  ip -p port 

例如:ssh 192.168.20.153 -p 27016

ip:192.168.20.153

port : 27016

成功:ssh_exchange_identification: Connection closed by remote host

失败: ssh: connect to host 192.168.20.153 port 27016: Connection refused

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄