Skip to main content
Umesh
Explorer II
August 27, 2022
Question

Difference port number and protocol number

  • August 27, 2022
  • 2 replies
  • 3007 views

Dear All,

 

Can anyone explain what is the difference port number and protocol number in layman's term.

 

Thank you.

 

2 replies

Umesh
UmeshAuthor
Explorer II
August 27, 2022

Hi, 

Is is cool defination of  port number and protocol number.

Port number - which services do you want to use.

Protocol number - How do you want to communicate.

 

Thanks & Regards,

Umesh

Toshi_Esumi
SuperUser
SuperUser
August 27, 2022

Protocol numbers are generally referring to IP protocol numbers at L3 or Network layer:
https://en.wikipedia.org/wiki/List_of_IP_protocol_numbers

Port numbers on the other hand are referring to TCP/UDP port numbers at L4 or Transport layer:

https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers

 

Toshi