解决Address localhost:1099 is already in use
Posted woaiacfun
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了解决Address localhost:1099 is already in use相关的知识,希望对你有一定的参考价值。
今天使用IDEA启动项目的时候,报了下列错误: Address localhost:1099 is already in use
问题解决:
方式一:
按快捷键 Ctrl+Shift+Esc 打开任务管理器,找到java.exe,然后点击“结束任务”即可!
方式二:
这种方式适用于所有端口被占用的情况:
step1:通过端口找到PID
打开dos命令行,输入netstat -ano | find "1099",得到下列内容,看到最后一列是9280,就是PID:
step2:通过PID找到进程
输入:tasklist | find "9280"(双引号里面的是PID)
step3:关闭进程
输入命令关闭进程:taskkill /f /t /im java.exe
————————————————
原文链接:https://blog.csdn.net/qq_26230421/article/details/80098032
以上是关于解决Address localhost:1099 is already in use的主要内容,如果未能解决你的问题,请参考以下文章
解决Address localhost:1099 is already in use
Error running Tomcat8: Address localhost:1099 is already in use 错误解决
解决Error running 'index.jsp : Address localhost:1099 is already in use的方法
idea启动Tomcat遇到错误:Error running 'Tomcat 7.0.912': Address localhost:1099 is already in use;解决
Address localhost:1099 is already in use(IDEA启动Tomcat报错1099 is already in use)
Error running exam-web: Address localhost:1099 is already in use