Thursday, March 05, 2020

Tomcat http port not work

For windows user install the tomcat: there is a problem, when you set the HTTP/1.1 port on setup. it may not work. Here is for reference.

Description on case:
When setup the tomcat (UI), it allow to change the shutdown port and HTTP/1.1 port. But after you change this 2 port, only shutdown port will reflect to server.xml, while HTTP/1.1 port will be always default.

To solve this:
You need to manually edit the HTTP/1.1 port on "tomcat folder/conf/server.xml" and restart service.

This list have no problem:
Tomcat v7.0.10 (java 7 x32)

Tomcat v7.0.94 (java 7 x32)
Tomcat v7.0.96 (java 7 x32)
Tomcat v7.0.99 (java 7 x32)
Tomcat v9.0.16 (java 8 x64)
Tomcat v9.0.30 (java 8 x64)

This list have above problem: (this both release year 2020)
Tomcat v7.0.100 (java 7 x32)
Tomcat v9.0.31 (java 8 x64)

* The testing done most with windows server 2016 std, and some in windows 2019 std.





No comments: