How to change the tomcat port from 8080?
Answered
I need to change the default tomcar port ir 8080 in my project .There are some process running against that port and I am not able to end the process.I am a newbie to the Java world.In which file do I need to change the port number ?
Any help is much appreciated.
Please sign in to leave a comment.
For non-snarky answer, the easiest way to do within intellij is to add -Dserver.port=[port-number] to your VM options in your tomcat run configuration.