久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長(zhǎng)資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      tomcat默認(rèn)端口是多少

      tomcat默認(rèn)端口是多少

      tomcat默認(rèn)端口是多少?

      tomcat默認(rèn)端口是8080端口。

      當(dāng)我們不想使用8080端口,需要修改為其他端口時(shí),我們可以:

      推薦:《Java學(xué)習(xí)》

      1, 打開tomcat安裝目錄下的conf目錄,找到server.xml文件。

      找到以下代碼

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

      2,修改端口號(hào)

      上面的8080就是tomcat的對(duì)外訪問(wèn)端口,

      我們將他修改為其他端口,但是要避免與系統(tǒng)的端口號(hào)沖突,選用一個(gè)沒(méi)有使用過(guò)的端口號(hào),然后保存退出

      如圖將端口號(hào)修改為8099

        <Connector port="8099" protocol="HTTP/1.1"                connectionTimeout="20000"                redirectPort="8443" />

      3, 重啟tomcat生效

      [root@distzabbix tomcat]# netstat -luntp|grep 80 tcp6       0      0 127.0.0.1:8005          :::*                    LISTEN      26201/java tcp6       0      0 :::8009                 :::*                    LISTEN      26201/java tcp6       0      0 :::8080                 :::*                    LISTEN      26201/java tcp6       0      0 :::80                   :::*                    LISTEN      850/httpd [root@distzabbix tomcat]# ./bin/shutdown.sh Using CATALINA_BASE:   /usr/share/tomcat Using CATALINA_HOME:   /usr/share/tomcat Using CATALINA_TMPDIR: /usr/share/tomcat/temp Using JRE_HOME:        /usr/share/jdk Using CLASSPATH:       /usr/share/tomcat/bin/bootstrap.jar:/usr/share/tomcat/bin/tomcat-juli.jar [root@distzabbix tomcat]# ./bin/startup.sh Using CATALINA_BASE:   /usr/share/tomcat Using CATALINA_HOME:   /usr/share/tomcat Using CATALINA_TMPDIR: /usr/share/tomcat/temp Using JRE_HOME:        /usr/share/jdk Using CLASSPATH:       /usr/share/tomcat/bin/bootstrap.jar:/usr/share/tomcat/bin/tomcat-juli.jar Tomcat started. [root@distzabbix tomcat]# netstat -luntp|grep 80 tcp6       0      0 :::8099                 :::*                    LISTEN      5163/java tcp6       0      0 127.0.0.1:8005          :::*                    LISTEN      5163/java tcp6       0      0 :::8009                 :::*                    LISTEN      5163/java tcp6       0      0 :::80                   :::*                    LISTEN      850/httpd [root@distzabbix tomcat]#

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號(hào)-2    滬公網(wǎng)安備31011702889846號(hào)