Mobile access to local server

Discussion in 'Apache' started by milagro, May 12, 2012.

  1. #1
    I have some problems accessing my web server from my mobile.
    When I access my IPv4 address 192.xxx.x.x from my pc I get my web server, on my mobile I get my 403 access forbidden page.
    And when I access the IP address 87.xxx.xxx.xxx provide by my Internet provider I get the maintenance panel of my router.

    I am using the following configuration of my server;
    
    Listen 127.x.x.x:80
    Listen 192.xxx.x.x:80
    
    ServerName 127.x.x.x:80     
    ServerName 192.xxx.x.x:80
    
    <Directory "c:/www">
        Options Indexes FollowSymLinks
        AllowOverride All
        Order deny,allow    
        allow from 87.xxx.xxx.xxx
        allow from 192.xxx.x.x
        allow from 127.x.x.x
        deny from all
    </Directory>
    Code (markup):
    Does anyone know how I can access the server via 87.xxx.xxx.xxx or 192.xxx.x.x on my mobile?
     
    milagro, May 12, 2012 IP
  2. Samykrish

    Samykrish Greenhorn

    Messages:
    53
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #2
    1. I think your mobile is not connected to your local wifi network, means it may use internet from mobile service provider so you are not getting access to your local server webpage.
    2. When you try to connect via live IP 87.xxx.xxx.xxx it shows router control panel because your router is on NAT mode, you have to configure port forwarding so you can access your local web server from outside.
     
    Samykrish, May 26, 2012 IP
  3. kevtucker

    kevtucker Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    In your Router settings page open port 80 and enter your ip address of the machine you wish to access.

    Kevin
     
    kevtucker, May 26, 2012 IP