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

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐