Check app running on new port
问题 I need to create application which get request for specific port and proxy it to new server on different port for example the following port 3000 will be proxy to port 9000 and you actually run the application on 9000 ( under the hood) since the user in the client click on 3000 http://localhost:3000/a/b/c http://localhost:9000/a/b/c I try something like var proxy = httpProxy.createProxyServer({}); http.createServer(function (req, res) { var hostname = req.headers.host.split(":")[0]; var