Tomcat not starting (throwing java.net.BindException: )

前端 未结 11 2152
礼貌的吻别
礼貌的吻别 2021-02-04 01:05

I have done the following settings to run a Java web project but somehow my Tomcat is not starting from Eclipse:

JAVA_HOME : C:\\Program Files\\Java\\jdk1.6.0_         


        
11条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-04 01:22

    kill the respective (listening) process on this port i.e. 8009. use

    netstat -a -o -n

    to look for the PID of the process. It may look something like this TCP [::]:8009 [::]:0 LISTENING 892

    use the taskkill command to kill the process. example:

    taskkill /F /PID 892

提交回复
热议问题