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

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

问题描述

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

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....).

有什么帮助吗?

推荐答案

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

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天全站免登陆