could I use this to redirect cloundfoundry server to my local server? #360

Closed
atian25 opened this Issue Jan 4, 2013 · 1 comment

2 participants

@atian25

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:

  1. set up a proxy web server at cloudfoundry, call A
  2. start a web server at local, call B
  3. start a net connection to A, then pipe them.
  4. when 3rd service visit A, the request will send to B , and response.
  5. then I can develop & debug at local machine , don't need to vmc push after every save.

can I do this by writing some nodejs code? how? thx.

@indexzero
nodejitsu member

That logic is sound.

@indexzero indexzero closed this Mar 9, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment