从Mac 10.8上的另一个本地设备访问Meteor本地Web服务器 [英] Accessing Meteor local web server from another local device on Mac 10.8

查看:119
本文介绍了从Mac 10.8上的另一个本地设备访问Meteor本地Web服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Meteor网站上工作,很方便,它将使用简单的命令meteor在localhost上运行.但是,我希望能够从本地网络上的其他计算机访问此网站.我要执行此操作的主要原因是要在移动设备上查看和测试该应用程序.

I am working on a Meteor website and conveniently, it will run on localhost with the simple command, meteor. However, I want to be able to access this website from other computers on the local network. The main reason I want to do this is for viewing and testing the app on mobile.

我正在运行Mac Mountain Lion 10.8,他们摆脱了一些方便的Personal Web Sharing首选项窗格.我在网上看到的所有其他内容都与设置您自己的服务器有关,但我要做的就是授予其他本地设备的访问权限...

I am running Mac Mountain Lion 10.8, and they got rid of some of the convenient Personal Web Sharing pref panes. Everything else I have seen online deals with setting up your own server, but all I want to do is grant access from other local device...

谢谢

推荐答案

找出您的IP地址192.168.1.12(mac system prefs/network) 在端口上的项目中启动流星(默认为3000) 从网络上的另一个计算机浏览192.168.1.12:3000

Find out your ip address 192.168.1.12 (mac system prefs/network) start meteor in your project on a port (default 3000) from another comp on network, browse 192.168.1.12:3000

这篇关于从Mac 10.8上的另一个本地设备访问Meteor本地Web服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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