How to open a create-react-app from another computer connected to the same network?

前端 未结 10 709
旧时难觅i
旧时难觅i 2021-02-02 06:38

I am using create-react-app and hosting in its default port localhost:3000 and want to access this from another device on the same net

10条回答
  •  暖寄归人
    2021-02-02 07:03

    Sometimes there is another problem for Windows users.

    Windows Firewall blocks NodeJs.

    Just go to Windows Defender Firewall and click to Allow an app or feature through Windows Defender Firewall and allow Node.js

提交回复
热议问题