[Fixed]-Django server on local ubuntu server cannot be reached from another windows machine

1👍

If you can SSH in then most likely this means that your 8000 port is not open on the server, try this Ubuntu iptables guide

If your SSH works, then you can also use port forwarding through SSH

ssh user@server -L 8000:server:8000

This is the the ssh user@host -L localport:host:hostport format

This will forward the 8000 port from your server, to your 8000 port locally, through the SSH tunnel, and in which case on your browser you’d use 127.0.0.1:8000 or localhost:8000(as opposed to using the host/IP of the server)

👤bakkal

Leave a comment