tomcat java.lang.Exception: Socket bind failed: [730048]
来源:互联网 发布:js控制视频播放暂停 编辑:程序博客网 时间:2024/06/05 15:51
严重: Error initializing endpoint
java.lang.Exception: Socket bind failed: [730048] ?????????×???(Э?é/???????/???)????í??
…………
2011-2-20 14:17:41 org.apache.catalina.startup.Catalina load
严重: Catalina.start
LifecycleException: Protocol handler initialization failed: java.lang.Exception: Socket bind failed: [730048] ?????????×???(Э?é/???????/???)????í??
…………
2011-2-20 14:17:42 org.apache.coyote.http11.Http11AprProtocol start
严重: Error starting endpoint
java.lang.Exception: Socket bind failed: [730048] ?????????×???(Э?é/???????/???)????í??
…………
2011-2-20 14:17:42 org.apache.catalina.startup.Catalina start
严重: Catalina.start:
LifecycleException: service.getName(): “Catalina”; Protocol handler start failed: java.lang.Exception: Socket bind failed: [730048] ?????????×???(Э?é/???????/???)????í??
…………
满篇的错误提示中,屡次出现:Socket bind failed: [730048] ?????????×???(Э?é/???????/???)????í??
估计地球人都看不懂那一堆乱码到底是什么错误。
造成原因:8080端口被占用了
解决办法:查看到底是什么程序占用了8080端口
开始–运行–cmd 进入命令提示符 输入netstat –ano|findstr “8080”
果然8080端口被一个PID为4128的进程占用了,我们去任务管理器下看看到底是什么程序
ProxyHunter ,这不是代理猎手麽。才想起来早上用它刷博客没有关掉。我们将它结束掉,重新启动Tomcat,OK了
总结:Tomcat 默认监听8080端口,而8080端口作为80端口的兄弟,常被用于WWW代理服务中,历来是木马和病毒的必争之地。为了省去一些不必要的麻烦,可以通过配置修改Tomcat默认监听的端口号。
我将它修改成了80 ,就可以省略端口这样访问:http://localhost/
否则是: http://localhost:新端口/
- Tomcat启动异常java.lang.Exception: Socket bind failed: [730048]
- tomcat java.lang.Exception: Socket bind failed: [730048]
- java.lang.Exception: Socket bind failed: [730048]
- java.lang.Exception: Socket bind failed: [730048]
- java.lang.Exception: Socket bind failed: [730048]
- java.lang.Exception: Socket bind failed: [730048]
- java.lang.Exception: Socket bind failed: [730048]
- java.lang.Exception: Socket bind failed: [730048]
- java.lang.Exception: Socket bind failed: [730048]
- tomcat启动时出错java.lang.exception: socket bind failed:
- tomcat 启动报错 java.lang.Exception: Socket bind failed
- 启动tomcat报错 java.lang.Exception: Socket bind failed
- 启动tomcat报错 java.lang.Exception: Socket bind failed
- java.lang.Exception: Socket bind failed: [730048] tomcat已启动后无法关掉
- tomcat启动错误:严重: Error initializing endpoint java.lang.Exception: Socket bind failed: [730048] ???????
- Tomcat启动产生错误严重: Error initializing endpoint java.lang.Exception: Socket bind failed: [730048] ??????
- tomcat启动错误:严重: Error initializing endpoint java.lang.Exception: Socket bind failed: [730048] ???????
- java.lang.Exception: Socket bind failed:
- 浅学设计模式之观察者<Observer>模式及在android中的应用
- Linux管道命令
- Android Bluetooth HID实现详解
- NSString用法、Obj-C数组以及字符串拼接与分割
- IntelliJ IDEA 12.1.6的常用快捷键
- tomcat java.lang.Exception: Socket bind failed: [730048]
- Windows与Linux文件共享
- 浅谈游戏服务器---功能模块上来看
- java 基础2 流程控制
- Lenovo T420i 装Win7 64位下装Visual Box
- android 监听来电去电
- H264基本概念之 预测编码、变换编码和熵编码
- java服务端对图片压缩的处理
- CentOS 6.4 配置 KVM虚拟机