I am using mac 15 inch retina eye display laptop currently running Sierra os . I am facing an issue from past few days apache tomcat does not start in netbeans. it gives an error port 8084 already in use. and when i try to change port to 8080 then it says starting of tomcat failed while 8082 port it says port already in use. Sometimes apache tomcat starts and then again it does the same port in use and unable to start. Please give me some solution to it.
2
votes
3 Answers
0
votes
That means that there is another instance of Tomcat running at the same time. If you are unable to stop already running Tomcat instance from Netbeans you can do it from command line.
- Find Tomcat process id by executing
ps aux | grep tomcat. - Stop Tomcat:
kill <pid>or if for some reason it does not work to stopkill -9 <pid>
0
votes

