title: localhost:8080 not working but tomcat server working in IntelliJ
body: <p>I have developed a web application. The app is configured to run on tomcat server 8.5 on port 9000. When deploying the project it runs on localhost:9000. But localhost:8080 not working. I have checked the server.xml and it is configured to run on port 8080. The other tomcat 7 runs on localhost:9090.
  Earlier I manually stop the server while deploying the project on IntelliJ since the project was configured to run on port 8080 and it shows error &quot;port 8080 already in use.&quot;</p>
  <p>Why this happening?</p>