美文网首页
mac 解决Caused by: java.net.BindEx

mac 解决Caused by: java.net.BindEx

作者: 红豆儿首播 | 来源:发表于2019-06-09 20:30 被阅读0次

1. 原因:端口被占用

2. 解决方式:

        (1)stop any process that's listening on port 8080

               sudo lsof -i tcp:8080(找到占用8080端口的pid)

               kill -15 PID

        (2)configure this application to listen on another port

                application.properties中添加server.port=8088

相关文章

网友评论

      本文标题:mac 解决Caused by: java.net.BindEx

      本文链接:https://www.haomeiwen.com/subject/obonxctx.html