View nodejs_port_forward_by_http.js
'use strict'; | |
/* Sample | |
forward :8087/jenkins to :8080/jenkins. | |
In product,the entityPort can be 80,so u can access jenkins | |
by http://yourhostname/jenkins | |
Good Luck! All Done Just By NodeJS! | |
*/ |