tomact: Socket bind failed: [730048]

 

严重: 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] ?????????×???(Э?é/???????/???)????í??

 

造成原因:端口被占用了

解决办法:查看到底是什么程序占用了端口

开始–运行–cmd 进入命令提示符 输入netstat –ano|findstr “8080”

通过进程可以查看到是什么地方占用端口

 

http://sunboyyyl.blog.163.com/blog/static/2247381201111133840718/

 

修改端口要修改三个地方:server.xml

1,<Server port="8002" shutdown="SHUTDOWN">

2, <Connector port="8081" protocol="HTTP/1.1" 

               connectionTimeout="20000" 

               redirectPort="8443" URIEncoding="GBK"/>

3, <Connector port="8038" protocol="AJP/1.3" redirectPort="8443" />

 

 

你可能感兴趣的:(socket)