2016-02-26 69 views

回答

0

您應該在tomcat配置中將端口號更改爲80。端口80是瀏覽器隱藏的唯一端口,因爲它是默認端口。

定位到[您-tomcat的根] /conf/server.xml然後更改

<Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/> 

<Connector connectionTimeout="20000" port="80" protocol="HTTP/1.1" redirectPort="8443"/>