Failed to start end point associated with ProtocolHandler ["http-nio-8081"]

Failed to start end point associated with ProtocolHandler [“http-nio-8081”]

在运行springboot时出现了如上错误,

在将application.yml-server-porter的数值从8081修改成1025后
运行成功!
多次试验发现,8081/8787失败,改成其它任意port数值均可成功运行springboot,原因应该是端口被占用。

posted @ 2022-11-22 09:46  羽毛球打的贼好  阅读(193)  评论(0)    收藏  举报