Tomcat为什么与端口8080一起使用,而不与80一起使用?
我已经在端口8080(默认)下启动并测试了Tomcat。现在,我将连接器端口更改为80,然后重新启动了Tomcat,在最小的Debian
6.0安装中没有任何显示。现在,这里的窍门在哪里?
<Connector port="80" protocol="HTTP/1.1" connectionTimeout="20000"
URIEncoding="UTF-8"
redirectPort="8443" />
回答:
转到/ etc / default / tomcat6并更改#AUTHBIND=no
为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
以上是 Tomcat为什么与端口8080一起使用,而不与80一起使用? 的全部内容, 来源链接: utcz.com/qa/409035.html