'Starting Tomcat v8.0 Server at localhost' has encountered a problem.

'Starting Tomcat v8.0 Server at localhost' has encountered a problem.

“在启动Tomcat的本地主机服务器V8.0”遇到了问题。

Problem Occurred

发生问题

详细信息

Port 8080 required by Tomcat v8.0 Server at localhost is 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).

在本地主机被Tomcat8.0服务器所需的端口8080已在使用。服务器可能已经在另一个进程中运行,或一系统过程可使用的端口。要启动该服务器,您将需要停止其他进程或更改端口号码。

 

cmd

netstat -ano

Microsoft Windows [版本 10.0.10240]
(c) 2015 Microsoft Corporation. All rights reserved.

C:\Windows\system32>netstat -ano

 

活动连接

协议 本地地址 外部地址 状态 PID
……
TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 4208
……

 

tasklist|findstr "4208"

Microsoft Windows [版本 10.0.10240]
(c) 2015 Microsoft Corporation. All rights reserved.

C:\Windows\system32>tasklist|findstr "4208"
ApplicationWebServer.exe      4208 Services                   0     10,392 K

C:\Windows\system32>

任务管理器

详细信息

NI Application Web Server 的属性(本地计算机)

禁用 停止

 启动 Tomcat 8.0

cmd

Microsoft Windows [版本 10.0.10240]
(c) 2015 Microsoft Corporation. All rights reserved.

C:\Users\u539f>start http://localhost:8080/

C:\Users\u539f>

浏览器

关闭 Apache Tomcat 8.0 服务

打开 eclipse Java EE

Ctrl+Alt+R

问题已解决

转载于:https://www.cnblogs.com/u539f/p/5349838.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值