Results 1 to 6 of 6
  1. #1
    GeorgeGFX's Avatar secret.club

    Join Date
    Nov 2010
    Country
    Posts
    15,461
    Thanked
    2,333
    Thanks
    5,080
    Working on a web project, I want to see if the settings I set are compatible for mobile devices (resolution and so on).
    People on stackoverflow recommended to create a hotspot but my phone would die since it sucks.
    Anyway I'm running Xampp on ports 80 & 443
    I tried using router login page + port 80 - nothing.
    10.0.2.2:80 / :8080 / : 443 - nothing.
    External IP address of router - 169.254.123.140:80 / :8080 / : 443 - still nothing.

    It says page unavailable..
    Any way to make localhost on android phone work?

    PS:
    Localhost or 127.0.0.1 don't work as well (on phone).
    Last edited by GeorgeGFX; 12-28-2015 at 02:43 AM.

    >>> Credits to Sikk408 @ DevaintArt <<<

  2. #2
    Eagle's Avatar damnvenom#1

    Join Date
    Aug 2014
    Country
    Posts
    2,409
    Thanked
    1,152
    Thanks
    577
    Did you checked if your port was work well?
    use this to check <.< http://www.canyouseeme.org
    -Restart apache.
    -Turn off the fire wall.
    -Check what's the programs that running and try to turn off some.
    -Open TCP Port 80 in Windows Firewall, and try to make connection.
    Last edited by Eagle; 12-28-2015 at 03:08 AM.

  3. #3
    Suggestion Gatekeeper

    Join Date
    Apr 2015
    Posts
    741
    Thanked
    96
    Thanks
    658
    Assuming you have xampp installed on a PC you will not be able to access it from your phone using localhost 127.0.0.1 since the server is not hosted on your phone. I used xampp a long time ago so i dont remember much. But on the computer you have xampp installed on, go to the xampp control panel and look around the settings, you can set ports and other useful settings there. Does that router have wireless?

  4. #4
    Stuwadie's Avatar I Am Half Retarded

    Join Date
    Apr 2014
    Country
    Posts
    1,459
    Thanked
    2,384
    Thanks
    1,574
    Last edited by Stuwadie; 12-28-2015 at 03:11 AM.

  5. #5
    Dave's Avatar 1' or 1=1--

    Join Date
    Aug 2008
    Country
    Posts
    24,018
    Thanked
    115
    Thanks
    12,963
    https://developers.google.com/web/to...ebugging?hl=en

    -OR-

    Just use Google Chrome's developer tools. It has a built-in function to automatically resize the browser window to specific resolutions.
    https://developers.google.com/web/to...ce-mode/?hl=en
    It's a terrible thing, I think, in life to wait until you're ready.
    I have this feeling now that actually no one is ever ready to do anything.
    There is almost no such thing as ready. There is only now.
    And you may as well do it now. Generally speaking, now is as good a time as any.

  6. The following user said thank you to Dave for this useful post:

    GeorgeGFX (12-28-2015)

  7. #6
    GeorgeGFX's Avatar secret.club

    Join Date
    Nov 2010
    Country
    Posts
    15,461
    Thanked
    2,333
    Thanks
    5,080
    After some struggle finally made it work thanks to Dave.

    The issue;
    chrome://inspect/#devices wasn't showing any devices.

    Solution;
    Downloaded Android SDK Manager
    Installed Platform Tool package(s)
    Opened cmd and ran the command "cd (path of platform-tools of SDK manager goes here) adb.exe"
    Ran command adb.exe devices (that makes my android connects with my PC by having USB debugger on).
    Portforwarded :8080 @ localhost
    Used my external IP of router which is 192.168.0.100
    Voala.

    Thanks for everyone who tried to help ~
    Closed as issue has been solved.

    PS:
    Web project also looks well on phone

    >>> Credits to Sikk408 @ DevaintArt <<<

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)