I'm writing a nodejs web server which is published to cloudfoundry.
and a 3rd service will visit my web server.
now I want to debug at local but don't have a standalone ip.
so I wonder could I do this:
can I do this by writing some nodejs code? how? thx.
Why cloudfoundry at all when you want to just tunnel web traffic to your localhost?
You can as well use other tunneling service. like localtunnel?
just do
gem install localtunnel
localtunnel <port>
you would be returned a unique url {uniq}.localtunnel.com - once you hit there, you will get it to your local.