Find out which port the daemon is using
9,989
Use the netstat
tool. For example:
netstat -pan
Look under the section that says "LISTEN" and it will tell you what ports the daemons are listening on. Note that you should run this as root unless the daemon is running as the user you're logged in as.
Related videos on Youtube
Author by
evfwcqcg
Updated on November 23, 2022Comments
-
evfwcqcg over 1 year
Possible Duplicate:
Finding the process that is using a certain port in LinuxSuppose I run some daemon but I didn't remember which port it usually use. How can I obtain this information?