JBoss AS 7不接受远程连接 [英] JBoss AS 7 not accepting remote connections

查看:106
本文介绍了JBoss AS 7不接受远程连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用JBoss AS 7,并尝试使用IP连接到我的应用程序(从Intranet中的计算机)。它不工作如果我从具有服务器的计算机测试,我可以看到系统运行,如果我通过localhost(http:// localhost:8080 / MySystem ....)但不是如果我尝试与IP(http://: 8080 / MySystem ....)。

I am using JBoss AS 7 and trying to connect to my application using the IP (from a computer in the intranet). It is not working. If I test from the computer which has the server I can see the system running if I go through localhost (http://localhost:8080/MySystem....) but not If I try with the IP (http://:8080/MySystem....).

任何帮助?

推荐答案

p>答案是编辑standalone.xml并插入标签any-address而不是inet-address绑定到127.0.0.1

The answer is to edit standalone.xml and insert the tag any-address instead of inet-address bound to 127.0.0.1

<interfaces>
    <interface name="management">
        <inet-address value="127.0.0.1"/>
    </interface>
    <interface name="public">
       <any-ipv4-address/>
    </interface>
</interfaces>

这篇关于JBoss AS 7不接受远程连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆