Vuejs mobile phone can not access, has modified the package.json file, still can not

in the vue-cli configuration file package.json-dev has been added-- host 0.0.0.0
then the pc side can access the project through ip/localhost, but the phone cannot access the project through ip, but the phone can access the php server through ip. Do you need to configure any files?

Mar.12,2021

  1. first use netstat-aon to confirm whether you are listening on 0.0.0.0 and whether the port number is correct.
  2. then confirm that pc's firewall is turned off
  3. make sure your phone and pc are in a local area network (do not surf the Internet through data on your phone)
Menu