远程访问 Wildfly 10(服务器从 Eclipse 开始)

Remote access to Wildfly 10 (Server Starting at Eclipse)

我正在尝试从本地网络中的其他电脑远程访问 Wildfly(没有本地主机),我只能在 运行 服务器(使用 standalone.bat) 这样:

standalone.bat -b=0.0.0.0

问题是我不想每次 运行 服务器 时都手动执行此操作,我尝试以这种方式编辑 standalone.xml:

<interfaces>
    <interface name="management">
        <inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
    </interface>
    <interface name="public">
        <inet-address value="${jboss.bind.address:0.0.0.0}"/>
    </interface>
    <interface name="unsecure">
        <inet-address value="${jboss.bind.address.unsecure:0.0.0.0}"/>
    </interface>
</interfaces>

但是不行,也尝试通过 wildfly 做同样的事情 UI 但是还是不行,我做错了什么? 提前致谢!

打开服务器配置(双击服务器)。然后点击"General Information"下的link"Open launch configuration"。添加虚拟机参数。 – "Qwertovsky"