Tomcat启动后无法访问 Failed to initialize end point associated with ProtocolHandler ["http-apr-8080"]

Tomcat 启动后无法访问,日志报错
Failed to initialize end point associated with ProtocolHandler [“http-apr-8080”] java.lang.Exception: Socket bind failed 和java.net.BindException: Address already in use: JVM_Bind错误解决

原因:
大概率是端口被占用

解决方法:
---->在Ctrl+R进入运行,cmd进入命令窗口

---->输入netstat -ao

---->查看各个端口的占用情况和这个端口的PID

Tomcat启动后无法访问 Failed to initialize end point associated with ProtocolHandler ["http-apr-8080"]

启动任务管理器,查看最后一列的PID,看看跟那个重复了,修改端口,解决

原版解决:https://www.cnblogs.com/sxdcgaq8080/p/6626995.html