Tomcatエラー


Launching Tomcat v9.0 Server at localhost' has encountered a problem.


port 8080 required by Tomcat v9.0 Server at localhost is already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number.


Tomcatのデフォルトポート8080が使用されています.
使用中のポートを変更したり、使用中のポートのpidを確認して削除したりできます.
管理者権限でcmdウィンドウを開きます.
netstat -p tcp -ano
taskkill /f /pid 3568
netstat -p tcp -ano
8080ポートがクリアされていることを確認
8080ポートが使用可能になりました.