当前位置: 技术问答>linux和unix
谁能帮我解答linux的问题,是看端口是否开放???急
来源: 互联网 发布时间:2016-05-25
本文导语: 80端口 DHGSTELE:/opt/tomcat_mkey/logs # telnet 10.52.3.15 80 Trying 10.52.3.15... Connected to 10.52.3.15. Escape character is '^]'. ^] Connection closed by foreign host. 22端口 DHGSTELE:/opt/tomcat_mkey/logs # telnet 10.52.3.15 22 Trying 10.52.3.15... Connecte...
80端口
DHGSTELE:/opt/tomcat_mkey/logs # telnet 10.52.3.15 80
Trying 10.52.3.15...
Connected to 10.52.3.15.
Escape character is '^]'.
^]
Connection closed by foreign host.
22端口
DHGSTELE:/opt/tomcat_mkey/logs # telnet 10.52.3.15 22
Trying 10.52.3.15...
Connected to 10.52.3.15.
Escape character is '^]'.
SSH-1.99-OpenSSH_4.4
^]
Protocol mismatch.
Connection closed by foreign host.
10001端口
DHGSTELE:/opt/tomcat_mkey/logs # telnet 10.52.3.15 10001
Trying 10.52.3.15...
Connected to 10.52.3.15.
Escape character is '^]'.
Digital Heaven MSC/MIP Enterprise Proxy v1.0 ready OK.
帮我看看上面的几个端口那些是开放的呀!
DHGSTELE:/opt/tomcat_mkey/logs # telnet 10.52.3.15 80
Trying 10.52.3.15...
Connected to 10.52.3.15.
Escape character is '^]'.
^]
Connection closed by foreign host.
22端口
DHGSTELE:/opt/tomcat_mkey/logs # telnet 10.52.3.15 22
Trying 10.52.3.15...
Connected to 10.52.3.15.
Escape character is '^]'.
SSH-1.99-OpenSSH_4.4
^]
Protocol mismatch.
Connection closed by foreign host.
10001端口
DHGSTELE:/opt/tomcat_mkey/logs # telnet 10.52.3.15 10001
Trying 10.52.3.15...
Connected to 10.52.3.15.
Escape character is '^]'.
Digital Heaven MSC/MIP Enterprise Proxy v1.0 ready OK.
帮我看看上面的几个端口那些是开放的呀!
|
已经都有连接上的返回消息了,所以都是开放的。
|
开放的
|
都开放的
|
都四开放滴, 否则奏会出 Connection refused 错误信息。
|
你用netstat -a看看
或
看/etc/service
或
看/etc/service
|
10001应该是开的吧
|
用netstat 看看
|
不懂 啊,
|
不懂