IntelliJ IDEA 启动tomcat 报错: idea Unable to open debugger port (127.0.0.1:58233): java.net.SocketException "socket closed"

  debug启动项目弹出提示 Error running omp: Unable to open debugger port (127.0.0.1:50812): java.net.SocketException "socket closed" 错误.导致tomcat服务器无法启动.

  

1、根据端口号“80”查找进程号
netstat -ano|findstr "80"
TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       7796

2、根据进程号“7796”查找进程名
tasklist|findstr 7796
java.exe                      7796 Console                    1     57,368 K

3、根据进程名杀死进程
taskkill -pid 7796 -f

或者是用下面的方法

原文地址:https://www.cnblogs.com/perfei456/p/8576914.html

时间: 2024-12-09 04:22:29

IntelliJ IDEA 启动tomcat 报错: idea Unable to open debugger port (127.0.0.1:58233): java.net.SocketException "socket closed"的相关文章

IntelliJ运行下载的Servlet时报错 Error running Tomcat 8.5.8: Unable to open debugger port (127.0.0.1:49551): java.net.SocketException

学习Java Servlet时,从Wrox上下载了示例代码,准备run/debug时发现以下错误: Error running Tomcat 8.5.8: Unable to open debugger port (127.0.0.1:49551): java.net.SocketException "Socket closed" /Users/GuQiang/Tomcat/apache-tomcat-8.5.8/bin/catalina.sh stopUsing CATALINA_B

IDEA启动Tomcat报错

Maven编译成功, 可是启动Tomcat报错: Application Server was not connected before run configuration stop, reason: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error dur

解决idea启动项目报错:Unable to open debugger port(127.0.0.1:60157):java.net.SocketException"socket closed

1.问题描述: 工作当中免不了要重启服务,debug模式下偶尔启动项目,却启动失败报错: Unable to open debugger port (127.0.0.1:60157): java.net.SocketException "socket closed" 2.原因分析 出现这个报错的原因是因为端口被占用导致的 3.解决方法 解决方法主要两种:修改端口配置(推荐).关闭占用端口的进程(不推荐). 方式一:修改端口配置(推荐)   被占用的端口可能是本地端口,也可能是JMX端口

【转】Eclipse下启动tomcat报错:/bin/bootstrap.jar which is referenced by the classpath, does not exist.

转载地址:http://blog.csdn.net/jnqqls/article/details/8946964 1.错误: 在Eclipse下启动tomcat的时候,报错为:Eclipse下启动tomcat报错:The archive: C:/Program Files(x86)/Java/jdk1.7.0_10/lib/tools.jar which is referenced by the classpath, doesnot exist. 2.原因: 这是因为我中途移动过tomcat的位

linux下启动tomcat报错 Failed to get local InetAddress for VMID. This is unlikely to matter. At all. We'll add some extra randomness

INFO [localhost-startStop-1] com.mchange.v2.log.slf4j.Slf4jMLog$Slf4jMLogger$InfoLogger.log(206) | Failed to get local InetAddress for VMID. This is unlikely to matter. At all. We'll add some extra randomnessjava.net.UnknownHostException: Oracle.Linu

Eclipse3.6+Blazeds+Flex4.6启动tomcat报错

在eclipse中启动tomcat时出现Setting property 'source' to 'org.eclipse.jst.jee.server:你的站点名'   did not find a matching property错误 解决办法: 1.在server控制台内,在服务器上点右键--属性 2.general选项卡中点switch location 这时,location变为:/servers/tomcat6.0 server at localhost.server 3.在pro

Address localhost:1099 is already in use(IDEA启动Tomcat报错1099 is already in use)

IDEA中启动Tomcat报错,Error running Tomcat7.0.52: Address localhost:1099 is already in use 或者是 java.rmi.server.ExportException: Port already in use: 1099 ,表示1099端口被其他进程占用了. 解决方法: 1. win+R,运行,输入cmd,进入命令提示符 2. 输入netstat -aon | findstr 1099,找到占用1099端口的进程ID:PI

tomcat单独启动成功, eclipse启动tomcat报错, 错误一:找不到或无法加载主类 org.apache.catalina.startup.Bootstrap;错误二:端口被占用

针对刚遇到的tomcat单独启动成功,但是在eclipse启动tomcat就报错问题作出总结如下: 软件版本: 1. eclipse版本 ① Luna Service Release 2(4.4.2)    64位 ② Helios Service Release 2   64位 2. tomcat版本 ①apache-tomcat-6.0.14 ②apache-tomcat-6.0.35 3. JDK版本 jdk1.6.0_45 64位 错误详情: 1.  tomcat启动失败,错误提示: j

SpringBoot+RabbitMQ启动出现报错问题总结org.springframework.amqp.AmqpConnectException: java.net.ConnectException和 java.net.SocketException: Socket Closed

环境: RabbitMQ是安装在虚拟机中Centos7 版本: RabbitMQ 3.5.7 SpringBoot 2.1.5 检查: 先检查端口,15672是插件的端口,在SpringBoot的配置文件中,应该使用5672 登录用户,如果你使用的是guest默认的用户,那么默认情况下只能在localhost登录,解决: 进入到etc的目录: 再进入到rabbitmq的目录并且在此目录下编辑一个名为rabbitmq.config的文件(注意:名字一定要是这个) 进入到文件编辑框,,加上如下的代码