To find out I do a:
Code: Select all
sudo fuser -v 8080/tcp
This will show what program is using the port 8080 - in my case it is:
Code: Select all
~/ sudo fuser -v 8080/tcp
USER PID ACCESS COMMAND
8080/tcp: nobody 2151 F.... monitorix-httpd
Monitorix - so I cannot use this port to share my files etc with others.
If the port is not taken this command will report nothing as in blank.