firebase cli serve cant access the project from different device

后端 未结 4 1884
醉酒成梦
醉酒成梦 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:44

    With a local IP 192.168.0.10 I launched firebase serve -o 192.168.0.10 and it works perfectly on port 5000 from other device

    In my javascript app : functions.useFunctionsEmulator('http://192.168.0.10:5000')

提交回复
热议问题