node.jsproxyserverappjs

How to configure AppJS to work with node-http-proxy server


I'm trying to get node-http-proxy working with AppJS. Unfortanly it crashes on launch of the app. What I did:

When the app starts I want to start the nodeJS proxy server. Is it possible to connect from a external PC to this proxy server? (I know I will need to open ports for this)

For example if I run the app on my home PC and at work I will set the proxy settings of the work PC to homePC_IP:8000. Will this work?


Solution

  • Haven't got a fix for the crash of node-http-proxy but I instead I used https://github.com/TooTallNate/proxy and this works like a charm!