I would like to use a tool to connect public urls to an instance of your application running locally.
Option 1: ngrok
Ngrok will be easy
Option 2: reverse ssh tunneling
If you have access to any server accessing the Internet with ssh and admin privileges to enable the GatewayPorts yes sshd configuration, you can do this using remote ssh tunneling. For instance:
ssh -n -R 8080:localhost:3000 myserver.example.com
Allows Web sites sent to http://myserver.example.com:8080 to tunnel to a local application listening on port 3000.
More information about ssh tunnel can be found here.
source share