I have created a website with bootstrap and in my Laptop browser it worked perfectly, but I want to view it in my SAMSUNG NOTE II and here what I have tried: I have create a New Inbound Rules with port 80 and in httpd I have changed from Order Deny,Allow Deny from all Allow from 127.0.0.1 to Order Deny,Allow Deny from all Allow from All I use cmd to get ip address and paste in laptop browser it works but, in phone browser it doesn't work. it says You don't have permission to access/ on this server. What is wrong with this? Thank very much for help me
Asked
Active
Viewed 1,188 times
4 Answers
0
- Disable your windows firewall or configure your network as home network.
- Verify your ip address and the gateway.
- Ping to the ip of the server
- Try also with another laptop or desktop.

bugs2919
- 371
- 1
- 8
0
Stop Apache, exit XAMPP control panel.
find and remove Remove the following portion from your httpd-xampp.conf file.
<LocationMatch "^/(?i: (?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))"> Require local ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var </LocationMatch>
Save it
start XAMPP control panel, Start Apache
on your mobile, browse to
http://xx.xx.xx.xx/file.php
wherexx.xx.xx.xx
is the ip address of the machine running Apache.

Ashesh
- 3,499
- 1
- 27
- 44
-
I use wamp server not XAMPP – leec leec May 12 '15 at 17:01
-
no issues, both come with latest version of Apache and have similar procedures. I personally prefer XAMPP. Read here: http://stackoverflow.com/a/19412808/2534513 – Ashesh May 12 '15 at 17:10
-
1I use WAMP server version 2.5 and now I solved it by change from Require local =>Require all granted.(: – leec leec May 14 '15 at 14:16
-
great! simple solution. :-) – Ashesh May 14 '15 at 14:24
0
follow the steps:
- connect your laptop and android in the same wifi, find out your server's wlan ip(for me , its : 192.168.0.103)
- type
192.168.0.103
in your laptop's browser - type
192.168.0.103
in your SAMSUNG's browser(chrome) - type
192.168.0.103
in your android code , commonly use a webview
which step goes wrong?

Ninja
- 2,479
- 3
- 23
- 32