0
点赞
收藏
分享

微信扫一扫

git远端协同开发、解决冲突、分支合并、gitlab使用、远程仓库回滚、为开源项目贡献代码、git工作流,git pull和git fetch,变基

巧乐兹_d41f 2023-10-19 阅读 17
macOS进程

java开发人员,端口冲突的问题基本都遇到过吧!以下的日志是否熟悉:

***************************
APPLICATION FAILED TO START
***************************

Description:

The Tomcat connector configured to listen on port 8084 failed to start. The port may already be in use or the connector may be misconfigured.

查询端口进程

以8084为例:

sudo lsof -n -P | grep :8084

执行完成以后,返回值如下:

plasticd 246  root  139u  IPv4 0x8be58345fa7081fd   0t0   TCP 127.0.0.1:8084 (LISTEN)

相了解详细信息可以在“活动监视器”中搜索上面查到的内容
在这里插入图片描述

杀进程

格式如下:

kill -9 <PID>

以246为例

sudo kill -9 246

参考

https://blog.csdn.net/qq_39997939/article/details/131803000

举报

相关推荐

0 条评论