moweijie-mdeveloper

- tomcat的端口配置相关信息在 server.xml中

- server.xml 记录了非常多的tomcat配置信息,其中就包括端口

- 用记事本打开 D:\tomcat\conf\server.xml

- 查询 ctrl+f,输入8080

- 可以找到两个8080,一个在注释中,不用理会。 另一个是

 

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

- 这就表明使用的是8080端口,把它修改为80,保存。

- 接着,必须重启tomcat

- 重启tomcat...就是先关掉,再运行startup.bat

分类:

技术点:

相关文章:

  • 2022-01-09
  • 2022-12-23
  • 2021-12-10
  • 2022-12-23
  • 2021-12-21
  • 2021-08-04
猜你喜欢
  • 2021-10-25
  • 2022-02-07
  • 2021-04-11
  • 2021-12-30
相关资源
相似解决方案