Tomcat Port 8005 required by Tomcat v8.5 Server at localhost is already in use. The server may alrea

当遇到Port 8005被占用,导致Tomcat v8.5无法启动的问题时,可以按照以下步骤解决:1. 打开服务管理器(services.msc);2. 在服务列表中找到Tomcat服务并停止相关进程。通过这些操作,你可以释放端口并重启Tomcat服务。
Port 8005 required by Tomcat v8.5 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(s).

在这里插入图片描述

解决办法:

1.进入到服务中–》services.msc

在这里插入图片描述
2.在服务中找到相关Tomcat 关闭应用进程
在这里插入图片描述

root@VM-8-17-ubuntu:~/fabric-trace/application/backend# go run main.go [GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached. [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production. - using env: export GIN_MODE=release - using code: gin.SetMode(gin.ReleaseMode) [GIN-debug] GET /static/*filepath --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (4 handlers) [GIN-debug] HEAD /static/*filepath --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (4 handlers) [GIN-debug] Loaded HTML Templates (2): - - index.html [GIN-debug] GET / --> backend/router.SetupRouter.func1 (4 handlers) [GIN-debug] GET /ping --> backend/router.SetupRouter.func2 (4 handlers) [GIN-debug] POST /register --> backend/controller.Register (4 handlers) [GIN-debug] POST /login --> backend/controller.Login (4 handlers) [GIN-debug] POST /logout --> backend/controller.Logout (4 handlers) [GIN-debug] POST /getInfo --> backend/controller.GetInfo (5 handlers) [GIN-debug] POST /uplink --> backend/controller.Uplink (5 handlers) [GIN-debug] POST /getFruitInfo --> backend/controller.GetFruitInfo (4 handlers) [GIN-debug] POST /getFruitList --> backend/controller.GetFruitList (5 handlers) [GIN-debug] POST /getAllFruitInfo --> backend/controller.GetAllFruitInfo (5 handlers) [GIN-debug] POST /getFruitHistory --> backend/controller.GetFruitHistory (5 handlers) [GIN-debug] [WARNING] You trusted all proxies, this is NOT safe. We recommend you to set a value. Please check https://pkg.go.dev/github.com/gin-gonic/gin#readme-don-t-trust-all-proxies for details. [GIN-debug] Listening and serving HTTP on :9090 [GIN-debug] [ERROR] listen tcp :9090: bind: address alrea
最新发布
04-02
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值