I built a Nodejs HTTP server. It's running on localhost:3000.
From outside the Local Area Network, how does one make a request to the private HTTP server? Messing with the router manually is not an option; process should be automated.
I've looked at various techniques - and I'm confused:
- Mapping the localhost port to the external ip address (node-nat-pmp)
- HTTP tunneling (node-tunnel)
- SOCKS (shadowsocks-nodejs)
- CONNECT method in request header
It seems that everything is built for a client tunneling out through a firewall, I want to tunnel a request in through the firewall and to a private server. Or just run the localhost port on the external ip.
Any help would be appreciated. Confused.