简体   繁体   English

Wildfly 10迁移,IP绑定问题

[英]Wildfly 10 migration, IP binding issue

I have migrated from Jboss 5.1 to Wildfly 10 and the application coming up locally. 我已经从Jboss 5.1迁移到Wildfly 10,并且该应用程序在本地启动。 I am not able to post any requests from VIP to Wildfly server. 我无法将VIP的任何请求发布到Wildfly服务器。 I tried setting 我尝试设置

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

And also 并且

<interface name="public">
        <any-address/>
    </interface>

But the IP is not getting binded. 但是IP没有被绑定。

tcp        0      0 :::8080                     :::*                        LISTEN      28773/java

When I give complete URI path of the server from another host I am able to post the requests. 当我从另一个主机提供服务器的完整URI路径时,我可以发布请求。

I have also taken care of socket-binding-group, standard-sockets. 我还照顾了套接字绑定组,标准套接字。

If I revert to Jboss 5 the requests are getting successfully posted and I see 如果我恢复到Jboss 5,请求将成功发布,我看到了

tcp        0      0 0.0.0.0:8080                0.0.0.0:*                   LISTEN  

Any pointers appreciated. 任何指针表示赞赏。

What mode are you using wildfly? 您正在使用哪种模式的wildfly? A quick tip, look what mode you are using the wildfly, if you are using standalone mode, you must define these configs in standalone.xml, otherwise if you are using domain mode, you must to define in domain.xml, in Domain Controller, first of all, give us this answer... 快速提示,查看您使用Wildfly的方式,如果使用独立方式,则必须在standalone.xml中定义这些配置,否则,如果您使用域方式,则必须在Domain Controller中的domain.xml中定义首先,请给我们这个答案...

In addiction, if you are using a specific profile, for ex: ha, you have to define this public interface in xml referent to this profile in this example it is standalone-ha.xml... or if you have a generic xml file, you must to define in your profile specific module configution in order to your mode which wildfly will be started 令人上瘾的是,如果您使用特定的配置文件,例如:ha,则必须在xml中定义此公共接口,在此示例中,此配置文件引用此接口为standalone-ha.xml ...,或者您有通用的xml文件,您必须在配置文件中定义特定于模块的配置,以便您的模式启动哪个wildfly

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM