<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8"/> 其中8080为HTTP端口,8443为HTTPS端口,connectionTimeout为超时时间,单位为毫秒;
- 修改端口后,重启服务:
<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8"/> 其中8080为HTTP端口,8443为HTTPS端口,connectionTimeout为超时时间,单位为毫秒;