1. the_darkwing_duck's Avatar
    What I want to do is connect an iPad and Laptop to my phone using the phone as a hotspot providing internet access to both iPad & Laptop. (OK thats easy).

    I then want the iPad to be able to access a web-app running on the Laptop, meaning the phone is not just an access point, but also a router.
    Can it be done? How?
    07-12-2012 07:35 AM
  2. dalvik's Avatar
    if i understand you correctly, if both devices will use the same LAN IP provided by the phone it shouldnt be that hard to access an app on your laptop from the ipad just like you would normally do with a router just need to find out your LAN IP.... what web app is that exactly?
    07-12-2012 08:04 AM
  3. brytonic's Avatar
    I would think this is possible as well. Wost case you might need to use a local loopback for the address. Other machines should be able to connect to the hosted site by the NAT IP of the iPad. You should be able to connect from the iPad to the hosted site on the iPad with the IP, as a backup you might need 127.0.0.1 (points the device to look at itself)
    07-12-2012 10:18 AM
  4. the_darkwing_duck's Avatar
    My phone was in the shop being fixed....

    The good news it that this works amazingly well.
    I'm running SharePoint in a VM on my laptop and connecting to it from an iPad using the S2 as a router - it took basically zero config.

    So, now, .....

    I'm trying to mirror the iPad to an AppleTV - but the TV is not found.
    Looking at the AppleTV support I see it needs:
    ■TCP port 123 is used to communicate with a network time server.
    ■TCP port 3689 is used to communicate with iTunes while using the iTunes Library Sharing feature.
    ■UDP port 5353 is used by Apple TV for automatically finding computers with iTunes on your network using Bonjour.
    ■TCP port 80 is used for communicating with podcast servers.
    ■TCP port 80 and 443 are used for basic and secure communications with the iTunes Store via the Internet.
    ■TCP port 53 is used for regular DNS.
    Apple TV: TCP and UDP ports and protocols used

    Would I expect any of those requirements not to be met??
    07-16-2012 07:57 PM
  5. brytonic's Avatar
    I don't know specifically what is open or not while tethering, port-wise.

    I would fully expect 80, 443 and 53 open for basic internet browsing to function (the primary function of tethering)

    Do you need this setup to get out to the internet or just to connect to each other? If the internet is not needed maybe just a wireless router would be better/easier to work with?
    07-18-2012 03:36 PM
  6. the_darkwing_duck's Avatar
    I don't know specifically what is open or not while tethering, port-wise.

    I would fully expect 80, 443 and 53 open for basic internet browsing to function (the primary function of tethering)

    Do you need this setup to get out to the internet or just to connect to each other? If the internet is not needed maybe just a wireless router would be better/easier to work with?
    It looks like, within the local network, I can access most ports via tcp, I think udp is maybe not supported.
    Any idea how I can confirm?

    You're right that a separate router would seem easy, I do need internet connectivity which I could achieve with some other hardware. I'm so close to being able to do it with the phone (which when you think about it is pretty f'in cool). Ultimately it comes down to not wanting to carry another lump of hardware and its associated wires around with me.
    07-19-2012 10:56 AM
LINK TO POST COPIED TO CLIPBOARD