Kill Tomcat process at port 8080
Occasionally the Tomcat server doesn't shutdown in a clean way when using Eclipse. What happens is that port 8080 stays in use and the server can't restart. Exiting Eclipse is not sufficient in this case and a restart of Mac OSX is needed.
So, how to kill the running Tomcat and free port 8080.
Open the terminal window and execute the following commands.
So, how to kill the running Tomcat and free port 8080.
Open the terminal window and execute the following commands.
- sudo lsof -w -n -i tcp:8080
- sudo kill -9 pidnumber
댓글 없음:
댓글 쓰기