On Sun, 2023-02-19 at 16:22 -0800, ToddAndMargo via users wrote:
> All these years I never knew how to trace down
> what program was using what port in Linux.
> I now have it written down!

netstat is another one, 

netstat -antu

Will show what TCP (t) and UDP (u) ports are active (a) [open and
listening] by numerical (n) values only.

Remove the n, and they'll be shown by names (resolving the IP addresses
and showing the usual names for known port numbers).

Adding more options, like "netstat -antuevp" will show extra
information, such as which programs are using those ports.
 
-- 
 
uname -rsvp
Linux 3.10.0-1160.83.1.el7.x86_64 #1 SMP Wed Jan 25 16:41:43 UTC 2023 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to