I have a development server, which is only accessible from 127.0.0.1:8000, not 192.168.1.x:8000. As a quick hack, is there a way to set up something to listen on another port (say, 8001) so that from the local network I could connect 192.168.1.x:8001 and it would tunnel the traffic between the client and 127.0.0.1:8000?
Simple way to create a tunnel from one local port to another?
networking;tcp;tunneling;port forwarding
Using ssh is the easiest solution.ssh -g -L 8001:localhost:8000 -f -N user@remote-server.comThis forwards the local port 8001 on your workstation to the localhost address on remote-server.com port 8000.-g means allow other clients on my network to connect to port 8001 on my workstation.  Otherwise only local clients on your workstation can connect to the forwarded port.-N means all I am doing is forwarding ports, don't start a shell.-f means fork into background after a successful SSH connection and log-in.Port 8001 will stay open for many connections, until ssh dies or is killed.  If you happen to be on Windows, the excellent SSH client PuTTY can do this as well.  Use 8001 as the local port and localhost:8000 and the destination and add a local port forwarding in settings.  You can add it after a successful connect with PuTTY.