通过internet访问Jboss war部署
我在Windows2008服务器上运行JBossApplicationServer7。我有一个war文件,我已经部署到Jboss,其中包含一个网页。我可以使用url在本地访问此网页通过internet访问Jboss war部署,jboss,Jboss,我在Windows2008服务器上运行JBossApplicationServer7。我有一个war文件,我已经部署到Jboss,其中包含一个网页。我可以使用url在本地访问此网页 http://localhost:8080/test/page1.jsf. 但是,我无法从外部访问它 http://<Ipaddress>:8080/test/page1.jsf http://:8080/test/page1.jsf 不起作用。 我在intepub/root文件夹中有我的Jbos
http://localhost:8080/test/page1.jsf.
但是,我无法从外部访问它
http://<Ipaddress>:8080/test/page1.jsf
http://:8080/test/page1.jsf
不起作用。
我在intepub/root文件夹中有我的Jboss文件夹,在那里我可以通过我的url访问网页和文本文件
http://<Ipaddress>:8080/<documentname>
http://:8080/
我必须采取哪些步骤才能访问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>
这取决于您如何启动JBoss服务。启动服务器时,请确保始终提供服务器的IP,以便使用-b
命令从任何位置进行访问:#>start.bat-b 127.0.0.1
。有关启动JBoss服务的更多选项,请参阅。我以前做过这项工作,但没有帮助。例如,这是我的standalone.xml的原始文章。