How to open an internal port in Openshift 3 Online?
问题 Say if I want to open two ports, one for the public at 8080, and another one to process some public request but was forwarded by the 8080 port like such: const http = require('http'); const publicServer = http.createServer(...).listen(8080); const privateServer = http.createServer(...).listen(9999); publicServer.on('connect', (req, cltSocket, head) => { ... if (...) { // let srvSocket = net.connect('9999', 'localhost', () => { let srvSocket = net.connect('9999', '127.0.0.1', () => { cltSocket