如何使用端口号识别协议? [英] How to identify protocol using port number?
本文介绍了如何使用端口号识别协议?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用端口号识别协议?
我知道端口号例如9995.如何识别此端口号使用的协议?
How to identify protocol using port number?
I know the port number say for example 9995. How to identify what protocol is used by this port number?
推荐答案
端口号是任意的,没有与协议的连接,你可以在端口110上托管网页。
通常端口号是为特定用途保留的,例如25 = smtp,110 = pop3,80 = http等。请参阅: http: //en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers [ ^ ]
要确定特定端口号上的协议,您需要进行数据包嗅探,这是一个高级主题。
Port numbers are arbitrary and have no connection to protocols, you can host web pages on port 110 for example.
Generally port numbers are reserved for specific uses like 25=smtp, 110=pop3, 80=http etc. see : http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers[^]
To determine a protocol on a specific port number you need to do packet sniffing which is an advanced topic.
这篇关于如何使用端口号识别协议?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文