在服务器上运行node.js服务

来源:互联网 发布:穿墙软件 编辑:程序博客网 时间:2024/06/06 03:50
nohup npm start &
sudo iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080
iptables -t nat -A PREROUTING -d 192.168.75.5 -p tcp --dport 80 -j DNAT --to-destination 192.168.75.3:8000
0 0
原创粉丝点击