pcyuen98 / covidAngular

0 stars 0 forks source link

KT - Command to check the running port of the linux #27

Closed KahouTong closed 3 years ago

KahouTong commented 3 years ago

To check the running port in linux, one of the example command is using netstat

most common netstat command used:

To find all port listening: netstat -tulp (OR -t -u -l -p) image image

To check specific port: (use grep command on selected port): netstat -tupl| grep ':portno'

Output: For find all port listening: image

For specific port: image

Output keyword definition for active internet connection: image image image image

Reference and more details: https://manpages.ubuntu.com/manpages/hirsute/en/man8/netstat.8.html

KahouTong commented 3 years ago

the reference link above only works by copying and paste in new tab.

KahouTong commented 3 years ago

Extra information about the Send-Q and Recv-Q:

https://stackoverflow.com/questions/36466744/use-of-recv-q-and-send-q#:~:text=If%20you%20have%20this%20stuck,between%20them%2C%20are%20doing%20OK.