firebase cli serve cant access the project from different device

后端 未结 4 2006
醉酒成梦
醉酒成梦 2021-01-11 13:55

I have install firebase cli etcetc. I can start the project and develop using firebase serve. I can visit the page of the project through localhost:5000 but if i try from di

4条回答
  •  清歌不尽
    2021-01-11 14:25

    firebase serve -o 0.0.0.0
    

    The -o flag sets the host.

    For more information, see Server Fault: What's the difference between IP address 0.0.0.0 and 127.0.0.1?

提交回复
热议问题