Exception when starting tomcat

Starting Tomcat throws:

java.net.BindException: Address already in use: JVM_Bind

This is because the port has been used. To find out which program is using that port, open a command prompt

1. Get PID of the process by running netstat -a -n -o

2. Go to Task Manager (CTRL+ALT+DEL) under tab Services

3. Kill the process or change tomcat shutdown port

Advertisements