Why does Tomcat work with port 8080 but not 80?

前端 未结 7 1738
刺人心
刺人心 2020-12-08 15:59

I have started and tested Tomcat under Port 8080 (default). Now I altered the connector port to 80 and restarted Tomcat, nothing will show on my minimal Debian 6.0 installa

7条回答
  •  盖世英雄少女心
    2020-12-08 16:40

    go to /etc/default/tomcat6 and change #AUTHBIND=no to AUTHBIND=yes

     # If you run Tomcat on port numbers that are all higher than 1023, then you
     # do not need authbind.  It is used for binding Tomcat to lower port numbers.
     # NOTE: authbind works only with IPv4.  Do not enable it when using IPv6.
     # (yes/no, default: no)
     #AUTHBIND=no
    

提交回复
热议问题