I'm able to access a local website which is hosted on a laptop, but when I try to access it from mobile phone I get following error on mobile:

Forbidden

You don't have permission to access /site-name on this server.

Apache/2.4.39(Win64) PHP/7.2.18 Server at 192.168.0.100 Port 80

Note:

  1. Access to website from laptop is working fine using http://192.168.0.100/site-name/, http://localhost/site-name/ and http://laptop-name/site-name/ URLs.
  2. From my mobile phone, I try to access website using http://192.168.0.100/site-name/ URL.
  3. Laptop and mobile phone are connected to same router.

I searched for solutions and found, noticeably, these:

WAMP error: Forbidden You don't have permission to access /phpmyadmin/ on this server

Error message "Forbidden You don't have permission to access / on this server"

Forbidden You don't have permission to access / on this server

I tried above solutions, but they didn't work. Above questions and answers seem to address access from same machine, but as I get error while accessing from different one(mobile phone), help me with apt solution.

0

There are 0 best solutions below