1

How can I access my localhost from my Android device?

Following this thread .

I want to connect my Android Device to my local host using wifi (Android hotspot) .

My local pc adress is : 192.168.43.13

On my PC , it's ok i can access .

But for some reason i can't access to the local host using my android web navigator . it's says (You don't have permession to access / on this server )

Appache .

Im using wampp

Some people say that i need to change this

<Directory />
AllowOverride none
Require all denied
</Directory>

to this

<Directory />
AllowOverride none
Require all granted
</Directory>

But it ain't working , please help . Thanks

Community
  • 1
  • 1
Kane Samba
  • 269
  • 1
  • 5
  • 18

1 Answers1

0

Ok i found the solution . Under

<Directory "c:/wamp/www/">

just change

Require local

to

Require all granted
Kane Samba
  • 269
  • 1
  • 5
  • 18
  • Never change the ` section of 'httpd.conf` file. If anybody tells you to do that then you know that ___they dont know what they are doing___. So I suggest you change it back. – RiggsFolly Jun 01 '16 at 18:57
  • A safer option it to use `Require ip 192.168.43` in the `` then you only allow access from anyone on your internal network – RiggsFolly Jun 01 '16 at 18:59