There two different ports are there.
First one is Physical Ports that are used to connect two different hardwares. It will available behind your CPU. The different types of physical ports :
Ethernet ports
USB ports
Serial/Parallel ports
Using the physical ports only, we connect the Keyboard,monitor,Mouse,Modem to your CPU.
Second one is Virtual Port
We know that physical ports used to