SpringBoot项目启动报错
java.io.IOException: The server sockets created using the LocalRMIServerSocketFactory only accept connections from clients running on the host where the RMI remote objects have been exported.
翻译:使用LocalRMIServerSocketFactory创建的服务器套接字仅接受来自已导出RMI远程对象的主机上运行的客户端的连接
在这里插入图片描述
解决方案:
打开【Edit Configuration】
VM options :-Dcom.sun.management.jmxremote.local.only=false
在这里插入图片描述
重新启动项目,完成!

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐