Ping一个端口 [英] Pinging a port
问题描述
我如何打开某个港口,如果它打开了?
hOW CAN I PING A CERTAIN PORT TO FIND OUT IF ITS OPEN?
我是一名HAM无线电操作员我需要知道如果港口2074至2093和15424 THRU 15429
I AM A HAM RADIO OPERATOR I NEED TO KNOW IF PORTS 2074 TO 2093 AND 15424 THRU 15429
在线路上打开电话吗? 或者如何让他们开放。
ARE OPEN ON A WIRES ATT PHONE? OR HOW TO GET THEM OPEN.
感谢TIM
推荐答案
嗨Tim,
Pinging是一种检查"主机可达性"的方法,即。用于检查联网设备是否可以从另一个设备访问。 ping设备所需的唯一内容是其IP地址。因此,您无法ping通"端口"。
有选择地。
Pinging is a means of checking "reachability of the host", ie. for checking whether or not a networked device is accessible from another. The one and only thing needed for pinging a device is its IP address. Hence, you cannot ping "a port" selectively.
然而,您可以尝试创建一个客户端,UDP / TCP取决于服务器所期望的数据包类型,然后尝试查看是否会出现异常当你试图连接它时。
However, what you could try is creating a client, UDP/TCP depending on the type of packets expected by the server, then try to see if you get exception when you try to connect to it.
希望这会有所帮助!
这篇关于Ping一个端口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!