Server already running on localhost
来源:互联网 发布:12315可以投诉淘宝吗 编辑:程序博客网 时间:2024/05/19 16:48
转载自http://blog.csdn.net/u010066934/article/details/47946153
在做项目中,经常遇到JBoss报如下提示:Server already running on localhost。这时Jboss显示已启动,但页面显示不出来。提示中给出了两种解决办法,运行新的服务或者不运行,两种方法都试过了,但JBoss还是起不来。最后就上网查了查,其实JBoss和Tomcat都会遇到这样的问题。
原因就是:端口占用!
解决办法:
1、查看哪个进程在占用你的端口号,在命令窗口输入,输入netstat -aon | findstr 8080。(“8080”即你的端口号,我的是“8093”)
有图可以看出,该端口被pid为7456的进程占用。
2、输入tasklist |findstr 7456,端口被javaw.exe占用
3、清理
输入taskkill /pid 7456 /F,提示已成功终止进程。
4、重启
重新启动Jboss,即可正常使用。
如果你不想清理掉占用你端口号的进程,你就需要修改jboss的默认端口号。
在jboss解压路径下jboss-eap-6.2-itoo3.1\standalone\configuration,找到standalone.xml,进行相应的修改。
阅读全文
0 0
- Server already running on localhost
- Jboss提示:Server already running on localhost
- Jboss Server Error:Server already running on localhost
- Is the server running on host “localhost” (::1) and accepting TCP/IP connections on port 5432?
- A server is already running.
- Error running 'localhost': Address localhost:1099 is already in use
- Communication failure during handshake. Is there a server running on localhost:3306?
- java.sql.SQLException: Communication failure during handshake. Is there a server running on localhost:3306?
- Communication failure during handshake. Is there a server running on localhost:3306
- java web连接mysql异常Communication failure during handshake. Is there a server running on localhost
- 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
- Error running Unnamed: Address localhost:8080 is already in use
- XAMPP: Another web server is already running
- postgresql数据库无法连接,提示 Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP conn
- XAMPP Apache Service is already running on port 443
- Attach to an already running managed process on device
- 分享一个rem的自动计算js
- EJB到底是什么?
- SpringCloud:断路器(Hystrix)
- 奇偶性[位运算判断方法]
- mysql tips
- Server already running on localhost
- C++中关于静态变量
- ROS导航包参数设置
- 我的第一篇csdn博客
- ./configure命令无法执行——源码编译、安装
- B
- 是什么制约着中国的大数据发展?
- 这段py代码能从12306 获取 所有车站信息
- 黄海高程和绝对高程之间的转换