linux端口不通怎么排查
ping IP检查网络连通性 telnet IP+端口检查端口是否可访问traceroute IP检查路由是否正常iptables -nL检查防火墙配置tcpdump抓包用wireshark分析 基本就是这些工具了,一项项排查吧

局域网内,能ping通但是telnet端口不通,这是怎么回事?
摘要如果你的主机是云主机,一定要确定你的安全组是否打开了,端口是否有下行的权限,不然其他的配置是没有用的。

判断端口通不通的几种方法
1、使用telnet判断 telnet是windows标准服务,可以直接用;如果是linux机器,需要安装telnet.用法: telnet ip port1)先用telnet连接不存在的端口[root@localhost ~]# telnet 10.0.250.3 80Trying 10.0.250.3...telnet: connect to address 10.0.250.3: Connection refused #直接提示连接被拒绝2)再连接存在的端口[root@localhost ~]# telnet localhost 22Trying ::1...Connected to localhost. #看到Connected就连接成功了Escape character is '^]'.SSH-2.0-OpenSSH_5.3aProtocol mismatch.Connection closed by foreign host.2、使用ssh判断ssh是linux的标准配置并且最常用,可以用来判断端口吗?用法: ssh -v -p port username@ip-v 调试模式(会打印日志).-p 指定端口username可以随意1)连接不存在端口[root@localhost ~]# ssh 10.0.250.3 -p 80ssh: connect to host 10.0.250.3 port 80: Connection refused[root@localhost ~]# ssh 10.0.250.3 -p 80 -vOpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013debug1: Reading configuration data /etc/ssh/ssh_configdebug1: Applying options for *debug1: Connecting to 10.0.250.3 [10.0.250.3] port 80.debug1: connect to address 10.0.250.3 port 80: Connection refusedssh: connect to host 10.0.250.3 port 80: Connection refused2)连接存在的端口[root@localhost ~]# ssh ... -pa^]^C[root@localhost ~]# ssh ... -p -vOpenSSH_.p, OpenSSL ..e-fips Febdebug: Reading configuration data /etc/ssh/ssh_configdebug: Applying options for *debug: Connecting to ... [...] port .debug: Connection established.debug: permanently_set_uid: /debug: identity file /root/.ssh/identity type -debug: identity file /root/.ssh/identity-cert type -debug: identity file /root/.ssh/id_rsa type -debug: identity file /root/.ssh/id_rsa-cert type -debug: identity file /root/.ssh/id_dsa type -debug: identity file /root/.ssh/id_dsa-cert type -a^C不用-v选项也可以咯3、使用wget判断wget是linux下的下载工具,需要先安装.用法: wget ip:port1)连接不存在的端口[root@localhost ~]# wget ...:---- ::--http://.../Connecting to ...:... failed: Connection refused.2)连接存在的端口[root@localhost ~]# wget ...:---- ::--http://...:/Connecting to ...:... connected. HTTP request sent, awaiting response...
"端口"是英文port的意译,可以认为是设备与外界通讯交流的出口。端口可分为虚拟端口和物理端口,其中虚拟端口指计算机内部或交换机路由器内的端口,不可见。例如计算机中的80端口、21端口、23端口等。物理端口又称为接口,是可见端口,计算机背板的rj45网口,交换机路由器集线器等rj45端口。电话使用rj11插口也属于物理端口的范畴。

telnet 端口号时通时不通是什么原因
你先要排除网络的稳定性问题,如果网络稳定的,那就是要排查提供这个服务端口号的服务问题了,还需要具体问题具体排查,你这样提问没人能解决!
我也碰到此问题了,坐等高人解答。

怎么看telnet测试端口是否通?
可以通过”telnet ip 端口“的形式进行端口查看。点击左下角的开始菜单,之后在搜索中输入”cmd “;直接回车,之后再命令行输入“telnet ip 端口”。如果可以访问的话,会直接进入端口页面,不能访问的话,会出现端口“连接失败”提示。Telnet协议是TCP/IP协议族中的一员,是Internet远程登录服务的标准协议和主要方式。它为用户提供了在本地计算机上完成远程主机工作的能力。在终端使用者的电脑上使用telnet程序,用它连接到服务器。终端使用者可以在telnet程序中输入命令,这些命令会在服务器上运行,就像直接在服务器的控制台上输入一样。可以在本地就能控制服务器。要开始一个telnet会话,必须输入用户名和密码来登录服务器。Telnet是常用的远程控制Web服务器的方法。

本文由 在线网速测试 整理编辑,转载请注明出处。