Eran Meir
Eran Meir

Reputation: 973

Wamp- trying to access "localhost" from android mobile

i am trying to reach the localhost from my mobile device, what i am doing is:

Wi-Fi is enabled

writing my "IPv4 Address" in the mobile browser(chrome) and get this error:

Forbidden You don't have the premission to access / on this serve

-Apache/2.4.9 (Win32) openSSL/1.0.1g.....


<Directory "c:/wamp/apps/phpmyadmin4.1.14/"> Options Indexes FollowSymLinks MultiViews AllowOverride all Order Deny,Allow Allow from all </Directory>


This is phpmyadmin.conf file (there are other sections, like IfDefine !APACHE24 that maybe need to change too?)

Alias /phpmyadmin "c:/wamp/apps/phpmyadmin4.1.14/"

# to give access to phpmyadmin from outside 
# replace the lines
#
# Require local
#
# by
#
# Require all granted
#

<Directory "c:/wamp/apps/phpmyadmin4.1.14/">
   Options Indexes FollowSymLinks MultiViews
   AllowOverride all
  <IfDefine APACHE24>
    Require local
  </IfDefine>
  <IfDefine !APACHE24>
    Order Deny,Allow
   Require all granted
    </IfDefine>
    php_admin_value upload_max_filesize 128M
    php_admin_value post_max_size 128M
    php_admin_value max_execution_time 360
    php_admin_value max_input_time 360
  </Directory>

Upvotes: 0

Views: 3365

Answers (1)

DeDee
DeDee

Reputation: 1992

The most trivial thing for new WAMP users, let me answer with image, red rectangle defines server visibility.

Offline - local
Online  - LAN

enter image description here

If you have used other methods to control server access and don't require them for other reasons, remove them. WAMP can completely rely on Online/Offline switch.

Upvotes: 1

Related Questions