无法查看网站(在 glassfish 家庭服务器中运行/路由器端口被转发)

发布于 2024-10-07 07:47:10 字数 376 浏览 0 评论 0原文

我想向朋友展示我制作的网站。但我似乎无法让该网站可供网络的其他部分使用。

好的,详细信息是:

  • 我创建了一个 jsp 网站
  • 它托管在 GlassFish v3 上
  • 我将端口 8080 转发到托管 GlassFish 的电脑(使用 这个)

就这样,我不知道还能做什么。我是网络开发新手,我尝试过在互联网上寻找答案,但没有运气。如果有人可以提供帮助,我们将不胜感激!

编辑:我正在使用 dyndns.org ddns。我也尝试过使用我的外部IP,但没有成功。

I would like to show the website I have made to a friend. But I just can't seem to get the website available to the rest of the web.

Ok, so the details are:

  • I created a jsp website
  • It is hosted on GlassFish v3
  • I forwarded port 8080 to the pc hosting GlassFish (Tested with this)

With all this as is, I don't know what else to do. I am 'n newbie web developer and I have tried the internet for answers but no luck. If anyone can assist, it would be greatly appreciated!

EDIT: I have a dyndns.org ddns that I am using. I also tried using my external IP, but to no avail.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

不回头走下去 2024-10-14 07:47:10

确保 Glassfish 正在侦听 PC 的真实 IP 地址,即不是 127.0.0.1 (localhost)。如果它在本地主机上运行,​​那么您将能够从同一台计算机上看到它,但不能从其他任何地方看到它。

不过,我不是 glassfish 用户,所以我无法告诉您如何更改它。

Make sure Glassfish is listening on the PC's real IP address, i.e. not on 127.0.0.1 (localhost). If it's running on localhost, then you'll be able to see it from the same machine, but not from anywhere else.

I'm not a glassfish user, though, so I can't tell you how to go about changing it.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文