如何在不同的IP地址上运行流星服务器? [英] How to run meteor server on a different ip address?

查看:70
本文介绍了如何在不同的IP地址上运行流星服务器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在其他IP地址上启动流星服务器?当前,在示例中,只能在localhost:3000地址上运行.

How can i start meteor server on a different IP address? Currently in the examples am only able to run on a localhost:3000 address.

推荐答案

根据netstat -tapn Meteor/Node.js侦听计算机上所有可用的IP地址:

According to netstat -tapn Meteor/Node.js listens on all available IP addresses on the machine:

tcp        0      0 0.0.0.0:3000            0.0.0.0:*               LISTEN      9098/node

您是否正在运行类似iptables的内容?

Do you have something like iptables running?

这篇关于如何在不同的IP地址上运行流星服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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