如何通过网络共享 jboss [英] How to share jboss over network
本文介绍了如何通过网络共享 jboss的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的机器上运行了 jboss,端口为 8080,我想在网络上共享 jboss 服务器,所以我使用 jbossws-native-4.0.2 运行 jboss 服务,但我仍然无法访问网络上的 jboss 服务器,请帮忙.
I have jboss running on my machine on port 8080, i wanted to share jboss server on network, So that i ran jboss service using jbossws-native-4.0.2 but i am still not able to access jboss server on network, please help.
推荐答案
在启动 jboss(run.sh 或 run.bat)时使用选项 -b 0.0.0.0 这会将端口绑定到所有网络接口.默认为 localhost 这就是为什么您无法通过网络访问服务器的原因.
Use the option -b 0.0.0.0 when starting jboss (run.sh or run.bat) this binds the port to all network interfaces. Default is localhost thats why you can't reach the server over the network.
这篇关于如何通过网络共享 jboss的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文