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

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了'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:135            0.0.0.0:0              LISTENING       812
  TCP    0.0.0.0:445            0.0.0.0:0              LISTENING       4
  TCP    0.0.0.0:1688           0.0.0.0:0              LISTENING       2236
  TCP    0.0.0.0:2343           0.0.0.0:0              LISTENING       2252
  TCP    0.0.0.0:2869           0.0.0.0:0              LISTENING       4
  TCP    0.0.0.0:3580           0.0.0.0:0              LISTENING       2316
  TCP    0.0.0.0:3582           0.0.0.0:0              LISTENING       3816
  TCP    0.0.0.0:5678           0.0.0.0:0              LISTENING       6584
  TCP    0.0.0.0:7680           0.0.0.0:0              LISTENING       932
  TCP    0.0.0.0:8080           0.0.0.0:0              LISTENING       4208
  TCP    0.0.0.0:9603           0.0.0.0:0              LISTENING       6584
  TCP    0.0.0.0:10000          0.0.0.0:0              LISTENING       6584
  TCP    0.0.0.0:49408          0.0.0.0:0              LISTENING       508
  TCP    0.0.0.0:49409          0.0.0.0:0              LISTENING       580
  TCP    0.0.0.0:49410          0.0.0.0:0              LISTENING       932
  TCP    0.0.0.0:49411          0.0.0.0:0              LISTENING       1672
  TCP    0.0.0.0:49427          0.0.0.0:0              LISTENING       3096
  TCP    0.0.0.0:49430          0.0.0.0:0              LISTENING       584
  TCP    0.0.0.0:49431          0.0.0.0:0              LISTENING       592
  TCP    0.0.0.0:59110          0.0.0.0:0              LISTENING       2436
  TCP    0.0.0.0:59111          0.0.0.0:0              LISTENING       3052
  TCP    127.0.0.1:4012         0.0.0.0:0              LISTENING       1916
  TCP    127.0.0.1:4013         0.0.0.0:0              LISTENING       1916
  TCP    127.0.0.1:5939         0.0.0.0:0              LISTENING       2664
  TCP    127.0.0.1:10000        0.0.0.0:0              LISTENING       5688
  TCP    127.0.0.1:27382        0.0.0.0:0              LISTENING       5428
  TCP    127.0.0.1:48303        0.0.0.0:0              LISTENING       2824
  TCP    127.0.0.1:48303        127.0.0.1:49437        ESTABLISHED     2824
  TCP    127.0.0.1:49412        127.0.0.1:49413        ESTABLISHED     2252
  TCP    127.0.0.1:49413        127.0.0.1:49412        ESTABLISHED     2252
  TCP    127.0.0.1:49414        0.0.0.0:0              LISTENING       3016
  TCP    127.0.0.1:49414        127.0.0.1:49425        ESTABLISHED     3016
  TCP    127.0.0.1:49417        127.0.0.1:49418        ESTABLISHED     2436
  TCP    127.0.0.1:49418        127.0.0.1:49417        ESTABLISHED     2436
  TCP    127.0.0.1:49419        127.0.0.1:49420        ESTABLISHED     3052
  TCP    127.0.0.1:49420        127.0.0.1:49419        ESTABLISHED     3052
  TCP    127.0.0.1:49421        127.0.0.1:49422        ESTABLISHED     3040
  TCP    127.0.0.1:49422        127.0.0.1:49421        ESTABLISHED     3040
  TCP    127.0.0.1:49425        127.0.0.1:49414        ESTABLISHED     2252
  TCP    127.0.0.1:49437        127.0.0.1:48303        ESTABLISHED     2824
  TCP    192.168.1.101:139      0.0.0.0:0              LISTENING       4
  TCP    192.168.1.101:49492    64.233.189.188:443     ESTABLISHED     344
  TCP    192.168.1.101:49623    119.254.211.135:80     ESTABLISHED     344
  TCP    192.168.1.101:49653    119.254.211.135:80     ESTABLISHED     344
  TCP    192.168.1.101:56549    65.55.252.43:443       TIME_WAIT       0
  TCP    192.168.1.101:56562    111.221.29.254:443     ESTABLISHED     2088
  TCP    192.168.1.101:56573    220.181.7.190:80       LAST_ACK        344
  TCP    192.168.1.101:56577    203.208.39.217:80      ESTABLISHED     344
  TCP    192.168.1.101:56578    203.208.39.217:80      ESTABLISHED     344
  TCP    192.168.1.101:56579    203.208.39.217:80      ESTABLISHED     344
  TCP    192.168.1.101:56582    115.239.211.92:80      CLOSE_WAIT      344
  TCP    192.168.1.101:56583    203.208.39.218:80      TIME_WAIT       0
  TCP    192.168.1.101:56584    203.208.39.218:80      TIME_WAIT       0
  TCP    192.168.1.101:56589    180.97.33.108:443      TIME_WAIT       0
  TCP    192.168.1.101:56590    180.97.33.108:443      ESTABLISHED     344
  TCP    192.168.1.101:56591    180.97.33.108:443      TIME_WAIT       0
  TCP    192.168.1.101:56592    180.97.33.108:443      TIME_WAIT       0
  TCP    192.168.1.101:56593    180.97.33.108:443      TIME_WAIT       0
  TCP    192.168.1.101:56594    180.97.33.108:443      TIME_WAIT       0
  TCP    192.168.1.101:56595    180.97.33.108:443      TIME_WAIT       0
  TCP    192.168.1.101:56596    180.97.33.108:443      TIME_WAIT       0
  TCP    192.168.1.101:56597    180.97.33.108:443      TIME_WAIT       0
  TCP    192.168.1.101:56600    58.215.118.32:443      ESTABLISHED     344
  TCP    192.168.1.101:56601    180.97.33.108:443      TIME_WAIT       0
  TCP    192.168.1.101:56602    180.97.33.108:443      TIME_WAIT       0
  TCP    192.168.1.101:56603    180.97.33.108:443      ESTABLISHED     344
  TCP    192.168.1.101:56604    180.97.33.108:443      TIME_WAIT       0
  TCP    192.168.1.101:56605    180.97.33.108:443      TIME_WAIT       0
  TCP    192.168.1.101:56606    180.97.33.108:443      TIME_WAIT       0
  TCP    192.168.1.101:56615    74.125.204.113:443     SYN_SENT        344
  TCP    192.168.1.101:56616    216.58.203.35:443      SYN_SENT        344
  TCP    192.168.1.101:56618    74.125.23.100:443      SYN_SENT        344
  TCP    192.168.1.101:56619    74.125.204.139:443     SYN_SENT        344
  TCP    192.168.1.101:56620    74.125.204.113:443     SYN_SENT        344
  TCP    192.168.1.101:56621    216.58.203.35:443      SYN_SENT        344
  TCP    192.168.1.101:56622    74.125.204.138:443     SYN_SENT        344
  TCP    192.168.1.101:56624    203.98.7.65:443        SYN_SENT        344
  TCP    192.168.1.101:56625    203.98.7.65:443        SYN_SENT        344
  TCP    [::]:135               [::]:0                 LISTENING       812
  TCP    [::]:445               [::]:0                 LISTENING       4
  TCP    [::]:1688              [::]:0                 LISTENING       2236
  TCP    [::]:2869              [::]:0                 LISTENING       4
  TCP    [::]:7680              [::]:0                 LISTENING       932
  TCP    [::]:49408             [::]:0                 LISTENING       508
  TCP    [::]:49409             [::]:0                 LISTENING       580
  TCP    [::]:49410             [::]:0                 LISTENING       932
  TCP    [::]:49411             [::]:0                 LISTENING       1672
  TCP    [::]:49427             [::]:0                 LISTENING       3096
  TCP    [::]:49430             [::]:0                 LISTENING       584
  TCP    [::]:49431             [::]:0                 LISTENING       592
  UDP    0.0.0.0:500            *:*                                    932
  UDP    0.0.0.0:2343           *:*                                    2252
  UDP    0.0.0.0:3544           *:*                                    932
  UDP    0.0.0.0:4500           *:*                                    932
  UDP    0.0.0.0:5000           *:*                                    2436
  UDP    0.0.0.0:5001           *:*                                    3052
  UDP    0.0.0.0:5002           *:*                                    3040
  UDP    0.0.0.0:5353           *:*                                    1252
  UDP    0.0.0.0:5355           *:*                                    1252
  UDP    0.0.0.0:5678           *:*                                    6584
  UDP    0.0.0.0:6000           *:*                                    2436
  UDP    0.0.0.0:6001           *:*                                    3052
  UDP    0.0.0.0:6002           *:*                                    3040
  UDP    0.0.0.0:8864           *:*                                    6584
  UDP    0.0.0.0:15005          *:*                                    6584
  UDP    0.0.0.0:19859          *:*                                    6584
  UDP    0.0.0.0:49408          *:*                                    3016
  UDP    0.0.0.0:49415          *:*                                    2664
  UDP    0.0.0.0:56874          *:*                                    6584
  UDP    0.0.0.0:56876          *:*                                    6584
  UDP    0.0.0.0:57018          *:*                                    6584
  UDP    0.0.0.0:57020          *:*                                    344
  UDP    127.0.0.1:1900         *:*                                    432
  UDP    127.0.0.1:5353         *:*                                    2664
  UDP    127.0.0.1:52862        *:*                                    432
  UDP    192.168.1.101:137      *:*                                    4
  UDP    192.168.1.101:138      *:*                                    4
  UDP    192.168.1.101:1900     *:*                                    432
  UDP    192.168.1.101:5353     *:*                                    3016
  UDP    192.168.1.101:52861    *:*                                    432
  UDP    192.168.1.101:53957    *:*                                    932
  UDP    [::]:500               *:*                                    932
  UDP    [::]:4500              *:*                                    932
  UDP    [::]:5353              *:*                                    1252
  UDP    [::]:5355              *:*                                    1252
  UDP    [::]:49409             *:*                                    3016
  UDP    [::]:49416             *:*                                    2664
  UDP    [::1]:1900             *:*                                    432
  UDP    [::1]:5353             *:*                                    3016
  UDP    [::1]:52860            *:*                                    432
  UDP    [fe80::6808:4bd0:96f3:4b25%13]:1900  *:*                                    432
  UDP    [fe80::6808:4bd0:96f3:4b25%13]:52859  *:*                                    432

C:\\Windows\\system32>

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

技术分享

问题已解决

以上是关于'Starting Tomcat v8.0 Server at localhost' has encountered a problem.的主要内容,如果未能解决你的问题,请参考以下文章

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

Starting Tomcat v7.0 Server at localhost' has encountered a problem. 如何解决

Error starting daemon: SELinux is not supported

tomcat v8.0 不在 ubuntu 上启动 [重复]

在Eclipse中为Apache Tomcat v8.0下载并安装灰色按钮

eclipse tomcat启动成功 一直处于starting