网站默认端口是80,所以只要将http://localhost:8080改为http://localhost:80,就可以用http://localhost来访问了.
在tomcat/conf/下,打开,找到
<Connector className="."
port="8080" minProcessors="5" maxProcessors="75"
将 port="8080" 改为 port="80" ;
重启tomcat,OK了!
网站默认端口是80,所以只要将http://localhost:8080改为http://localhost:80,就可以用http://localhost来访问了.
在tomcat/conf/下,打开,找到
<Connector className="."
port="8080" minProcessors="5" maxProcessors="75"
将 port="8080" 改为 port="80" ;
重启tomcat,OK了!