Click here to Skip to main content
15,885,941 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?
Posted

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 : 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.
 
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