关于#idea#运行错误的问题,如何解决?

在别人电脑中运行idea没有这样的错误,但在自己的电脑上运行时会出现以下错误:
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 during JRMP connection establishment; nested exception is: java.net.SocketException: Connection reset]
求问原因及解决办法

java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.CommunicationException
无法检索 RMIServer 存根
原因是IDEA中Tomcat的配置出现问题,需要修改配置路径
参考这个文章:https://blog.csdn.net/weixin_44431550/article/details/108812529

您好,你需要连接的RMI server的问题,需要client和server端的机器能互相连接通讯才可以。