jboss AS7默认和之前的版本一样,只监听127.0.0.1,用真实ip是不能访问的。 对于以前的版本我们可以在启动时运行run -b xxx.xxx.xxx.xxx来解决这个问题,但在AS7中,需要修改standalone\configuration\standalone.xml,找到
<interface name="public">
<inet-address value="127.0.0.1"/>
</interface>
改为
<interface name="public">
<any-address/>
</interface>即可
修改JBoss AS7监听地址至真实IP

本文详细介绍了如何在JBoss AS7中修改默认监听地址为真实IP,解决无法通过真实IP访问的问题。具体操作步骤包括定位并修改standalone.xml文件中的配置项。
1942

被折叠的 条评论
为什么被折叠?



