我的项目端口也设置了80端口,这样会有影响吗?还有下面怎么没有看到Tomcat的端口
[root@iZwz9gxpm2rp8leuaaffj8Z apache-tomcat-8.5.85]# vim ./conf/server.xml [root@iZwz9gxpm2rp8leuaaffj8Z apache-tomcat-8.5.85]# ./bin/startup.sh Using CATALINA_BASE: /usr/local/apache-tomcat-8.5.85 Using CATALINA_HOME: /usr/local/apache-tomcat-8.5.85 Using CATALINA_TMPDIR: /usr/local/apache-tomcat-8.5.85/temp Using JRE_HOME: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b08-1.el7_9.x86_64 Using CLASSPATH: /usr/local/apache-tomcat-8.5.85/bin/bootstrap.jar:/usr/local/apache-tomcat-8.5.85/bin/tomcat-juli.jar Using CATALINA_OPTS: Tomcat started. [root@iZwz9gxpm2rp8leuaaffj8Z apache-tomcat-8.5.85]# ps -ef | grep tomcat root 14485 14420 0 12:58 pts/2 00:00:00 grep --color=auto tomcat [root@iZwz9gxpm2rp8leuaaffj8Z apache-tomcat-8.5.85]# netstat -tulpn Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1042/sshd tcp6 0 0 :::3306 :::* LISTEN 13981/mysqld tcp6 0 0 :::33060 :::* LISTEN 13981/mysqld udp 0 0 0.0.0.0:68 0.0.0.0:* 760/dhclient udp 0 0 127.0.0.1:323 0.0.0.0:* 529/chronyd udp6 0 0 ::1:323 :::* 529/chronyd [root@iZwz9gxpm2rp8leuaaffj8Z apache-tomcat-8.5.85]#
9
收起
正在回答 回答被采纳积分+1
1回答
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星