←back to thread

I can see your local web servers

(http.jameshfisher.com)
652 points jamesfisher | 1 comments | | HN request time: 0.001s | source
Show context
jand ◴[] No.20028531[source]
Funny enough, the site is reporting port 3000 to be running a web server. It is not - according do nmap and my knowledge.

Any ideas on this?

replies(2): >>20028549 #>>20028801 #
shakna ◴[] No.20028549[source]
If you're on Linux, BSD and macOS, you can run:

    sudo lsof -i | grep 3000
To try and see if a process has claimed the port.

On Windows:

    netstat -ab
I've forgotten so much Windows I don't know how to filter the result, but it'll give you a list of ports and processes.
replies(1): >>20030061 #
1. unpixer ◴[] No.20030061[source]
Some BSD systems won't have lsof out of the box, in which case fstat/netstat will give you the results you want.