Reputation: 11
I have downloaded NetBeans-8.0.1-windows and MySQL 5.0 setup and tomcat 8.5 and successfully installed on win 7 OS.
Now I am trying to start Apache Tomcat but it always shows error like
Starting of Tomcat failed, the server port 8080 is already in use.
Please help to solve this issue. I have downloaded mysql-connector-java-8.0.17.zip and unzipped it.
Upvotes: 1
Views: 3147
Reputation:
First, try to check if the port 8080 is on use:
Run command-line as an Administrator. Then run the below mention command.
netstat -ano | findstr :8080
The red-colored circled area shows the PID (process identifier). If you are getting something like the above image, kill the running processes on that port.
Then you execute this command after identifying the PID.
taskkill /PID <typeyourPIDhere> /F
P.S. Run the first command again to check if the process is still available or not. You'll get an empty line if the process is successfully ended.
The answer is taken from the following link: http://www.callstack.in/tech/blog/windows-kill-process-by-port-number-157
Upvotes: 2