Monday, 28 June 2010

Release port 8080 after tomcat crash on windows 7

Check which process is using port 80

On the command prompt window, type the following command.

netstat -o -n -a | findstr 0.0:8080

C:\dev>netstat -o -n -a | findstr 0.0:8080
  TCP               LISTENING       6352

Open Task Manager to check the process ID
  1. Right click on the taskbar to open the the task manager.
  2. Go to the Processes tab.
  3. Click the View menu
  4. And make sure you select the PID (Process Identifier)
Find the process and kill it