[x3d-public] python, node web servers listen on all interfaces
John Carlson
yottzumm at gmail.com
Sat Apr 16 17:58:10 PDT 2016
Just a note to follow up:
node and python web servers listen on all interfaces without careful setup. Thus you shouldn’t start a node or python web server without looking
carefully looking at how to configure it for localhost only.
$ python3 -m http.server
Serving HTTP on 0.0.0.0 port 8000 ...
^Z
[1]+ Stopped python3 -m http.server
coderextreme:X3DJSONLD johncarlson$ netstat -nat|grep LISTEN
tcp4 0 0 *.8000 *.* LISTEN
$ node app.js &
[1] 11460
coderextreme:X3DJSONLD johncarlson$ listening on http://localhost:3000
Go to the link above!
!net
netstat -nat|grep LISTEN
tcp46 0 0 *.3000 *.* LISTEN
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20160416/855dfbf2/attachment.html>
More information about the x3d-public
mailing list