The device and the computer are in the same network segment. There is an existing smart device that needs to access the thinkphp interface.
Normal access to this interface on a computer is: http://localhost/demo/index.php/C/A
or: http://127.0.0.1/demo/index.php/C/A
So how can smart devices access the interface?
Tried to access via IP, but the message appears: You don't have permission to access on this server.
Modified Apache's httpd.config file:
<code>< Directory / > Options FollowSymLinks AllowOverride None Order deny,allow Deny from all < /Directory ></code>
Still no permissions. Is it related to the firewall?
Or if you use a computer to broadcast WiFi and allow the device to connect to WIFI, this situation will not occur?