【问题标题】:Access the glassfish server web application remotely远程访问 glassfish 服务器 Web 应用程序
【发布时间】: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访问它。我们需要更改任何配置文件吗?

任何帮助将不胜感激。

谢谢

-山姆

【问题讨论】:

    标签: glassfish redhat


    【解决方案1】:

    这可能是一个问题,因为 Selinux 策略处于强制模式。 尝试将其更改为被动或禁用模式,然后尝试访问您的服务器。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-01-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多