Tomcat website address: http:localhost: 8080 changed to http:localhost

zhaozj2021-02-12  172

The default port of the website is 80, so as long as http: // localhost: 8080 is changed to http: // localhost: 80, you can use http: // localhost to access it.

In Tomcat / Conf / Under, open Server.xml, find

Change Port = "8080" to Port = "80";

Restart Tomcat, OK!

转载请注明原文地址:https://www.9cbs.com/read-7064.html

New Post(0)