How to configure Jenkins to run on port 80

后端 未结 13 2182
走了就别回头了
走了就别回头了 2020-12-12 21:45

I\'m running Ubuntu 11.10 and have run sudo apt-get install jenkins to install Jenkins on this system.

I\'ve seen some tutorials on how to setup a rever

13条回答
  •  萌比男神i
    2020-12-12 22:39

    the firewalld way to forward port 8080 to 80:

    yum install firewalld
    systemctl start firewalld
    chkconfig firewalld on
    firewall-cmd --permanent --zone=external --change-interface=eth0
    firewall-cmd --permanent --zone=external --add-forward-port=port=80:proto=tcp:toport=8080
    

提交回复
热议问题