How to view network port using iftop command in Linux?
You can view the port connection of the network to know for which port the "request is sent to" and "received from" using the below command,
→ iftop -P
It will list all the network traffic details with the port connected as shown in below image,