Closed michelole closed 6 years ago
Adding
#Requests from outside
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8080
#Requests from localhost
iptables -t nat -I OUTPUT -p tcp -d 127.0.0.1 --dport 80 -j REDIRECT --to-ports 8080
to /etc/rc.local
does the port forwarding trick.
Jenkins is incompatible with JDK9+, downgraded to JDK8.
Setup