Is it possible to change the port for catalina.sh run command?
By default it runs on 8080.
I know i can change it in the servers.xml , but on upgrade one has to continuously fiddle with that.
you use the link below :
How to change tomcat port number
and if you want to change it with command line, you can use this command :
sed -i -e 's/8080/8081/' /TOMCAT_HOME/conf/server.xml
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.