A local server is run using the SimpleHTTPServer module from Python 2.7
$ python -m SimpleHTTPServer
Serving HTTP on 0.0.0.0 port 8000 ...
Then I use netstat to search for that socket using 8000 as a filter for port number, however, I can't find any socket with the filter (even when I open a browser window and access 127.0.0.1:8000
).
$ netstat | grep 8000
// "return Nothing"
Does anyone have ideas about why I can't see the socket binded by Python SimpleHTTPServer in netstat
?