tomcat設置直接通過域名訪問項目(不需要接 /項目名)

效果圖 打開 tomcat - ->conf- ->server.xml 編輯> 修改端口號爲80端口(是爲了避免http://192.29.193.128:8080/項目名) 改成如下代碼   <Connector port="80" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="u
相關文章
相關標籤/搜索