《亲测 已解决》Address localhost:8080 is already in used
来源:互联网 发布:林州网络最近新闻 编辑:程序博客网 时间:2024/06/05 17:27
问题:
运行web项目时候提示Address localhost:8080 is already in used
下图是我的错误,是在mac中的intellij IDEA。虽然运行环境不一样,但是解决的方法可以尝一尝
解决:
出现这个错误可能是你的8080端口真的被占用了,那我的这个方法就帮不到你了,要是你的8080端口没有被任何其他程序占用但还是提示了这个错误,就可以尝试一下下面的方法:
在运行web项目前去tomcat/bin目录下运行shutdown脚本关闭tomcat,再直接运行web项目,那样就不会提示这个错误了。
我是在外部打开tomcat(也就是运行了tomcat/bin下的startup脚本)的情况下运行web项目才导致了这个错误,因为在编译器中打开web项目时它自动会打开tomcat,但是现在你的tomcat已经占用了8080端口并处于运行状态,所以编译器会提示8080端口被占用。
0 0
- 《亲测 已解决》Address localhost:8080 is already in used
- Error running Unnamed: Address localhost:8080 is already in use
- Error running 'localhost': Address localhost:1099 is already in use
- idea启动项目address localhost:1099 is already in use异常解决
- idea启动项目address localhost:1099 is already in use异常解决
- Error running Tomcat8: Address localhost:1099 is already in use
- Error running Tomcat8: Address localhost:1099 is already in use
- Error running *.jsp: Address localhost:1099 is already in use
- idea【 Address localhost:1099 is already in use】socket closed
- idea Address localhost:1099 is already in use
- Address localhost: 1099 is already in use问题解决
- Error running Tomcat 6: Address localhost:8080 is already in use
- Address localhost:1099 is already in use 8080端口被占用
- Error running Tomcat8: Address localhost:8080 is already in use 的错误
- Error running Tomcat 7: Address localhost:1099 is already in use
- Error running Tomcat8: Address localhost:1099 is already in use 的错误
- Mac系统开发常见问题-IntelliJIDEA-TOMCAT-Address localhost:80 is already in use
- Error running Tomcat 7: Address localhost:1099 is already in use
- 设计模式——简单工厂模式
- 复习数据库笔记
- 栈使用量的一种检测方法
- jackson配置
- 使用ajax向后台请求时,前台报错406 Not Acceptable
- 《亲测 已解决》Address localhost:8080 is already in used
- 【Light OJ 1414】February 29(容斥原理)
- oracle 控制台em端口号的位置
- LintCode:01背包问题
- HTML:target=_blank
- socket IPC 本地socket通讯
- “n个球放入m个盒子,使用程序输出所有的放法”的c++回溯法
- 操作系统课程设计的代码分析1
- Android开发中BLE4.0搜索、配对、连接、通信、与手机距离的计算等功能