Can't Access wamp server (localhost) on my android device

13,753

You probably won't be able to access server via "192.168.1.100" even on your computer. Try confirming it by typing the ip address on your PC. I was running into the same issue. Then found the solution.

Basicallly,

"Order Allow,Deny" would not work for apache 2.4

just use Require all granted instead.

Thanks to: QuantumHive

Share:
13,753
Awais Umar
Author by

Awais Umar

Updated on June 04, 2022

Comments

  • Awais Umar
    Awais Umar almost 2 years

    I am developing a responsive website and i want to check it on my android devices (mobile, tablet). I am trying to access my server in the mobile browser's window using my ip (192.168.1.100). I have tried various methods discussed here like access-localhost-from-mobile-phone

    I have also edited my apache config file as suggested but nothing working. No matter what i do, i get Forbidden, you don't have permission to access / on this server. I am running apache 2.4

    I have also tried

    <Directory />
    Options FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
    </Directory>
    

    then

    <Directory />
    Options FollowSymLinks
    AllowOverride All
    Require ip 255.255.255 (my subnet)
    </Directory>
    

    then

    <Directory />
    Options FollowSymLinks
    AllowOverride All
    Require ip 192.168.1.100(my IPv4)
    </Directory>
    

    Nothing works for me...