java.rmi.server.ExportException: Port already in use: 1098; nested exception is:

idea to start the project being given: java.rmi.server.ExportException: Port already in use: 1098 ; nested Exception IS:

Interpretation command line:

netstat -ano to view port usage

etstat -ano | findstr see what port numbers specified port

 taskkill -f -pid 14740 taskkill release release port parameters: -f Forced -pid process ID

 

window + R: cmd command window opens

Input; netstat -ano | findStr 1098

 

 

 taskkill -f -pid 14740

 

Restart the project, the perfect solution

 

Guess you like

Origin www.cnblogs.com/ljangle/p/11585863.html