Solutions port number is occupied (tomcat, SpringBoot based on port number can not start) of

1 ..... whom view the port number (process) occupation

  ---- "win + R mating bond dos command input window opening  

  ---- "type the command: netstat -ano | findstr" port number "(start-occupied port number)

 

  Example: 80 Port Number

 

 

       ---- "type the command: tasklist | findstr" pid "(according to pid see which processes are using this port number)

 

  ---- "type the command: taskkill / pid pid / f (the end of this process, so that the port number is idle)

  This system can not end, deny access! ! ! (Under normal circumstances, we can end)

  

 

solve:

         The simplest is: Replace the port number, other unoccupied too

Guess you like

Origin www.cnblogs.com/wangshichang/p/11420273.html