Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save darbyluv2code/960eb14dfbec407960a56bcf32bab95e to your computer and use it in GitHub Desktop.

Select an option

Save darbyluv2code/960eb14dfbec407960a56bcf32bab95e to your computer and use it in GitHub Desktop.
JSP - Tomcat Troubleshooting
You can use the troubleshooting tips below.
Troubleshooting Tip #1
1. Exit Eclipse
2. Open a web web browser and visit, http://localhost:8080
3. If you see a "Tomcat" web page then that means Tomcat is running as a Windows service. To stop Tomcat running as a Windows services, open your Windows Control Panel. Find the service "Apache Tomcat" and stop it.
4. If you don't see a "Tomcat" web page, then stop the appropriate process displayed.
--
Troubleshooting Tip #2
Steps to free port which is already used to run tomcat server in Eclipse
For example , suppose 8080 port is used , we need to make free 8080 to run tomcat
Step 1: (open the CMD command)
C:\Users\username>netstat -o -n -a | findstr 0.0:8080
TCP 0.0.0.0:3000 0.0.0.0:0 LISTENING 3116
Now , we can see that LISTENING port is 3116 for 8080 ,
We need to kill 3116 now
Step 2:-
C:\Users\username>taskkill /F /PID 3116
Step 3: Go to Eclipse and start Server , it will run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment