


How does a smart device access the TP interface on the PC within the same LAN?
Oct 18, 2016 am 08:41 AMThe 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:
1 2 3 4 5 6 |
|
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?

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian

How To Set Up Visual Studio Code (VS Code) for PHP Development
