Running a project on eclipse on Tomcat Server. I have two tomcat versions installed namely 7.0 and 9.0. I created two servers for the project. Stopped both servers. I want to run the project on 9.0. So I started server 9.0 But when I right click 'project-run as-run on server', it automatically starts 7.0 and because 9.0 is already using the port, 7.0 cannot start. Stopped 9.0. And run the project again now with both servers stopped. It automatically starts 7.0 but same error persists even with 9.0 stopped. (I have NOT set "always use this server for the project")
In targetted runtimes, configured the server I want to use for the project and applied the changes.
Run the project again, but the same error persists(BOTH servers in stop mode). How do I reconfig the servers?