How to run meteor server on a different ip address?

前端 未结 9 1853
悲哀的现实
悲哀的现实 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:19

    If you are looking to run something on another IP address (but still have the files local) you need to look into editing your vhosts file. If you are on a mac, look into Virtual Host X

    The proper way to change ports with meteor is this:

    meteorapp : meteor --port 5000
    

提交回复
热议问题