Previous 1 2 Next 16 Replies Latest reply: Jan 17, 2012 1:14 AM by paulfromathens
A.Lwin Level 1 Level 1 (5 points)
Is it possible to use the Safari browser on the iPad (or other browsers available in the app store) to connect to the localhost of a computer?

Windows Vista
  • lllaass Level 10 Level 10 (166,260 points)
    What do you want to do? There are apps for using the iPad as a remote desktop of a computer and apps for getting files from a computer.
  • zvolts Level 1 Level 1 (25 points)
    My definition localhost is local to each host. If you mean can an iPad access a web server on another computer on your network, then yes it can.
  • apple4ever Level 2 Level 2 (375 points)
    Hi, I just did a quick evaluation on that topic…

    1. I prefer App with a Light version, so you can try before you buy!
    2. I believe Apps over 10$ are overpaid!

    So with that in mind I came to the conclusion that "Mocha VNC Lite" or the full version (about 6$) are just perfect.

    It took me less than a minute to establish a connection to my Mac without some manual reading, just out of my intuition (go to "Sharing" in the "System preferences", enable "Remote Management", click on "Computer Settings" and set a Password. In Mocha enter the IP and the Password - Thats It)

    The webpage of the product is also nice and strait forward.

    More you can find here:

    enjoy you magic machine
  • A.Lwin Level 1 Level 1 (5 points)
    Its not for remote desktop connections.

    Here is my setup, I have a laptop running IIS7 on Vista Ultimate for my work. With this I can send to other colleagues, through our LAN, a link for them to preview my work (e.g. http://mycomputername or computer's IP:port/path...html). When I tried to enter the same link on my iPad's safari browser it doesn't seem to work, telling me server not found.

    My guess is either I'm doing something wrong or iPad's safari doesn't have everything like a full browser.
  • apple4ever Level 2 Level 2 (375 points)
    iPad has no Java, maybe thats the problem…

    enjoy your magic machine
  • apple4ever Level 2 Level 2 (375 points)
    Check these page:

    enjoy your magic machine
  • JimHdk Level 7 Level 7 (28,225 points)
    apple4ever wrote:
    iPad has no Java, maybe thats the problem…

    This question has nothing to do with Java.

    To the OP:

    It should be possible for the iPad's Safari browser to access a web server (IIS) running on your PC. If your computer cannot be found then it may be a DNS problem. How are your local computernamesbeing found on your network? Have you tried your LAN's numeric IP address (http://192.168...)?
  • A.Lwin Level 1 Level 1 (5 points)
    Yes I have tried both my computer's name and IP address on our network.

    I'll have to check the DNS but I don't think this should be an issue as other computers work fine, its only for the iOS browsers which seem to not work.

    Also going to test if WAMP works, may be an Safari just doesn't like IIS.
  • A.Lwin Level 1 Level 1 (5 points)
    With WAMP ipad safari can view the wamp localhost of my computer, now gotta figure out how to make it work with IIS7.
  • A.Lwin Level 1 Level 1 (5 points)
    Figured it out, it was the firewall blocking the port.

    Thanks everyone.
  • Ross Heitkamp Level 1 Level 1 (15 points)
    I am having the same problem. Even my iPod Touch can access the server running on my PC, but not my iPad. The server is running on an unusual port, 8080, but I can't access the port 80 server, either. The iPod does seem to have more trouble with access than a Mac or PC, but at least it does succeed, eventuallly/sometimes.

    I don't know what WAMP is - was that part of your solution? And what firewall did you change? On the PC? Or a router? Or is there one on the iPad?

    Thanks for any hints. I have been beating my head on this for months.
  • Loreto_li Level 1 Level 1 (0 points)

    Firewall on pc serving the web page needs to be configured to enable the web server (HTTP). this is done in windows-controlpanel-firewall-advanced options tab-select local area connection and hit the configuration button. You will see a list of available services. Check web server (http) service.

  • heatwaveo8 Level 1 Level 1 (0 points)

    You can access the localhost on an iPad or iTouch by appending your local ip link to the beginning of any of your file paths. This link can be discovered by enabling web sharing.


    If you use PHP, you can do it like this:



      $localhost = 'http://your_localhost_ip_goes_here/~your_home_folder_goes_here';



    You can then append the path to each file using <?php echo $localhost;?>, like so:


    <a href='<?php echo $localhost; ?>/~your_home_folder_goes_here/~the_relative_path_to_your_file>Link</a>


    If you use HTML only, you can do it like this:


    <a href='http://your_local_ip_goes_here/~your_home_folder_goes_here/the_relative_path_to_your_file>Li nk</a>


    In both cases, you would do this for any external file (images, js, css, html, php, etc). What's nice is, if you have a Sites folder, you can do this and it will still work on your computer with the same url from your Sites folder. When you're ready to launch it live, simply return the file paths to how they were before. This can be simplified by doing a replace all.


    The main cause of our problems with this is that we are using the Sites folder. Unfortunately I can't find an easier way to fix it than this.

    Hope this helps.

  • heatwaveo8 Level 1 Level 1 (0 points)

    Sorry everyone, the second code sample was wrong, it should look like this:

    <a href='<?php echo $localhost; ?>/~the_relative_path_to_your_file'>Link</a>

Previous 1 2 Next