本地网络上的流星应用程序 [英] Meteor app on local network

查看:45
本文介绍了本地网络上的流星应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在按照教程学习如何使用 Meteor.我知道 Meteor 会自动将应用程序托管到 localhost 和我的 IPv4 地址(在本例中为 192.168.1.100).当我在其托管的计算机上访问 192.168.1.100:3000 时,该应用程序运行良好,但无法在任何其他访问 192.168.1.100:3000 来自本地网络.

I'm learning how to use Meteor by following the tutorial. I'm aware that Meteor automatically hosts the app to both localhost and my IPv4 address (in this instance, 192.168.1.100). When I visit 192.168.1.100:3000 on the computer it's hosted from, the app works fine, however it won't load on any other devices that access 192.168.1.100:3000 from the local network.

我已阅读以下答案:

他们都没有为我工作.可能是因为我运行的是 Windows.如果是这种情况,谁能帮忙介绍如何在本地网络上托管应用程序?

And none of them worked for me. It may be because I'm running Windows. If that's the case, can anyone help on how to host the app on the local network?

推荐答案

您可能无法

尝试打开端口

netsh advfirewall firewall add rule name="Meteor 3000" dir=in action=allow protocol=TCP localport=3000

如果通过 wifi 连接,则路由器通常不允许连接到网络上的其他设备,请检查路由器设置

if connecting via wifi, then routers often disallow connections to other devices on the network, check router settings

这篇关于本地网络上的流星应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆