Summary: Sometimes when you run a Web project, you encounter an error running tomcat8:address localhost:1099 is already in use, which prevents the Web project from running. This blog describes the solution.
Sometimes you encounter Error running tomcat8:address when running a Web project localhost:1099 is already an error in the use, causing the Web project to not run. This is obviously the 1099 port already occupied, the workaround is as follows:
The first step, command prompt symbol, executes the command: Netstat–ano
Visible, the PID of a process that occupies 1099 ports is 6072.
Second step, command prompt symbol, execute command: tasklist
It is visible that the process that occupies port 8080 is Java.exe
The third step, through the Task Manager, terminates the process Java.exe
We'll see that we've opened 2 Java.exe and it's all over.
Fourth step, restart Tomcat to start normally
Error running Tomcat8:address localhost:1099 is already on use error resolution