在用eclipse时出现 Several ports (8080, 8080)

Several ports (8080, 8080) required by Tomcat v6.0 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s)
这是由于其他程序已经占用了8080端口,而tomcat的默认端口是8080,在用eclipse时候8080已经被占用就会报此错误。解决方法修改tomcat默认端口或者将占用8080端口的程序终止掉。
在这里提供后者解决方法:
	第一步,在cmd命令行中输入netstat -ano
			找到占用8080端口程序的PID号
	第二步,输入指令tasklist
			根据找到的PID号码,找到占用8080端口的程序名
	第三部,在任务管理器进程中,终端此程序。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值