Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

intellij tomcat configuration port numbers

When I configure a local tomcat server configuration in intellij, the following dialog is shown. You configure the start script and port numbers. Why does intellij require a port number if the tomcat's server.xml has port numbers specified? I know intellij reads the server config because it is picking up my certs file location.

enter image description here

like image 923
Jeff Storey Avatar asked Nov 30 '25 04:11

Jeff Storey


2 Answers

Application's like eclipse and Intellij starts its own instance of tomcat. If you have your installed tomcat running in port 8080 you can tell these ide's to start another instance of tomcat in some other port no. Hope this helps..

like image 161
Konza Avatar answered Dec 03 '25 22:12

Konza


In the application.properties file, Add server.port=8085(or any custom port of your choice). server.port property is a predefined spring property.

like image 37
logesh Avatar answered Dec 04 '25 00:12

logesh



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!