Files
MarkdownNotes/Port information on Linux.md
2023-04-26 09:27:33 -04:00

939 B

Why is that port open?

I don't know why are you concerned about processes listening on localhost (meaning there is no access to that port from outside). But if you really want, you can see which package is involved.

First of all find out what process is using it: (run as root)

netstat -tunlp | grep PORT
ps ax | grep PROCNUM
dpkg --search EXECUTABLE
Variable Description
PROCNUM process number seen on the previous command output.
EXECUTABLE the executable with full path of the above process number.

Then examine that package with aptitude show or whatever.

Reference