Click here to Skip to main content
15,919,479 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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?

1 solution

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 :[^]

To determine a protocol on a specific port number you need to do packet sniffing which is an advanced topic.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900