How to change the port of Tomcat from 8080 to 80?

后端 未结 13 802
野的像风
野的像风 2020-11-22 17:22

I want to execute my web app as http://localhost.

13条回答
  •  时光说笑
    2020-11-22 17:43

    On a Linux Debian-based (so Ubuntu included) you have also to go to /etc/default/tomcat7, uncomment the #AUTHBIND=no line and set its value to 'yes', in order to let the server bind on a privileged port.

提交回复
热议问题