I have a node server running on port 8080. This is for some personal development and I'm accessing my web server using localhost in my chrome browser. I'm sitting in a coffeeshop and I don't want outside users to have access to my files on my webserver.
So how do I prevent all users that are not localhost from accessing this web server? is it a node.js setting or a system setting (I'm using a mac). Thanks.