How to run meteor server on a different ip address?

前端 未结 9 1846
悲哀的现实
悲哀的现实 2020-12-02 23:51

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.

9条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-03 00:13

    Using Meteor 1.3.2.4, If your IP is 192.168.0.13 as in my case, on the terminal, type:

    meteor --mobile-server 192.168.0.13
    

    or

    meteor --port 192.168.0.13:3000
    

    And you will see the Meteor welcome page by typing

    http://192.168.0.13:3000
    

    on your browser.

提交回复
热议问题