I am using Intellij Idea IDE version 2019.2.3 and I want to run two instances of my spring boot application in different ports, but I got just one running instance. I start the application in the port 8081 and after it runs, I change the port to 8083 and run it again in parallel with the previous one but i got this error :
`The Tomcat connector configured to listen on port 8083 failed to start. The port may already be in use or the connector may be misconfigured.
And when I come to the browser i found that the first port stopped working, when the application runs successfully in the last port`
I have tried to add a new "run configuration" but got the same problem.
-Dserver.port=9090
. Use different port for each configuration so that you can run 2 instances. – Panegyric