我在 Windows 2008 服务器上运行 Jboss 应用程序服务器 7。我有一个部署到 Jboss 的战争文件,其中包含一个网页。我可以使用 url 在本地访问此网页
http://localhost:8080/test/page1.jsf.
但是我无法从外部访问它
http://<Ipaddress>:8080/test/page1.jsf
不起作用。我的 intepub/root 文件夹中有我的 Jboss 文件夹,我可以在其中通过我的 url 访问网页和文本文件
http://<Ipaddress>:8080/<documentname>
我必须采取哪些步骤才能访问我的 war 文件中的内容。我的服务器在 8080 上接受 http,但是 Jboss 需要以某种方式配置吗?这非常令人困惑,因为我预计这会自动发生而不是这么大的问题
编辑
我尝试使用以下内容编辑我的standalone.xml,但它仍然无法正常工作。
<interfaces>
<interface name="management">
<inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
</interface>
<interface name="public">
<any-ipv4-address/>
</interface>
<interface name="unsecure">
<inet-address value="${jboss.bind.address.unsecure:127.0.0.1}"/>
</interface>
</interfaces>