I've set up a web server on a Linux machine on port 8000, using:
python -m SimpleHTTPServer 8000
If I run curl -XGET '127.0.0.1:8000'
I get a response. But if I try accessing it on a browser in a different machine using http://domain:8000
, I get no response.
How can I make it work outside the local network?