【问题标题】:Restrict access to WildFly web console for non-local connections限制非本地连接对 WildFly Web 控制台的访问
【发布时间】:2015-05-02 03:07:24
【问题描述】:

我很难找到仅允许从本地连接访问服务器控制台的参考。 是否有可配置的选项/最佳实践?最好不要禁用 Web 界面或为此涉及操作系统/网络选项。

【问题讨论】:

    标签: jboss wildfly


    【解决方案1】:

    WildFly 默认只允许本地连接,所以如果你获得远程管理连接,似乎你已经更改了默认设置。

    这是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:127.0.0.1}"/>
        </interface>
        <interface name="unsecure">
            <inet-address value="${jboss.bind.address.unsecure:127.0.0.1}"/>
        </interface>
    </interfaces>
    

    确保jboss.bind.address.management 设置为本地地址。

    【讨论】:

    • 谢谢,这是我得到的默认设置,它按照您提到的方式工作。我只是在设置过程中突然出现了那个 q,在检查 google 时不太确定在哪里看并且措辞错误。
    猜你喜欢
    • 2018-05-11
    • 1970-01-01
    • 1970-01-01
    • 2018-10-25
    • 2014-01-15
    • 2015-09-19
    • 2019-10-31
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多