The website made by PHP can be accessed on the PC side, but not on the mobile side.

the project is deployed in Aliyun centos7.4 php7.2 mysql5.7 nginx 1.14

Php
Dec.21,2021

try using the system browser first, confirm:

  1. Mobile phone can connect to the Internet;
  2. Mobile phone can connect to the root domain of the website (you can put a simple static resource, such as html or txt, under the root domain name)
  3. if you still can't get through, see if there is an error code;
  4. check the connection log on the server side. If Nginx is the previous level, it is access.log
  5. .
Menu