【发布时间】:2013-11-28 07:57:34
【问题描述】:
我可以通过 http://localhost:8080/domain1 或 http://<machine-ip>:8080/domain1 在本地访问 glassfish 服务器上的应用程序。但是,我无法从另一台远程机器访问它。
当我在浏览器中输入http://<machine-ip>:8080/domain1 时,连接超时。
两台机器上的防火墙都关闭了,我还添加了 machine-ip 到 /etc/hosts 文件。我可以 ping glassfish 服务器机器,我正在使用安装 glassfish 的 redhat enterprise 6.3 linux。
请告诉如何通过IP访问它。我们需要更改任何配置文件吗?
任何帮助将不胜感激。
谢谢
-山姆
【问题讨论】: