首页 > 其他 > 详细

sentinel启动失败,The Tomcat connector configured to listen on port 8080 failed to start. The port may already be in use or the connector may be misconfigured. 已解决!

时间:2021-08-24 09:58:48      阅读:45      评论:0      收藏:0      [点我收藏+]

报错:The Tomcat connector configured to listen on port 8080 failed to start. The port  may already be in use or the connector may be misconfigured.

技术分享图片

初学sentinel,简单的安装部署,竟然给我整出错了,无语。。。

报错显然是指8080被占用,但是后台查看有没发现有程序占用了8080,那就更郁闷了。。。

没法子,sentinel默认指定8080端口启动,那咱们就只能从源头解决问题:启动sentinel时,修改指定端口,可以是其他未被占用的端口,只要不是8080端口就行!

简单,就一句话的事!

java -Dserver.port=7777 -jar sentinel-dashboard-1.8.0.jar

技术分享图片

 

 技术分享图片

 

启动成功!

登录看看,访问http://localhost:7777/,默认的用户名和密码都是sentinel ,结果如下所示:

技术分享图片

 

 技术分享图片

 搞定!!!

 

参看文章:https://blog.csdn.net/zhang6132326/article/details/112197449?

sentinel启动失败,The Tomcat connector configured to listen on port 8080 failed to start. The port may already be in use or the connector may be misconfigured. 已解决!

原文:https://www.cnblogs.com/4AMLJW/p/sentinel202108240418.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!