Why does Tomcat work with port 8080 but not 80?

前端 未结 7 1735
刺人心
刺人心 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:37

    Did you start Tomcat on port 80 as root? You have to be root to bind to ports <= 1024 in Linux.

提交回复
热议问题