Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I want to access my web application on iPad for local testing (http://myMachine_Name). But here is the problem;

  1. I am having a local copy on my Windows machine with a Weblogic server running and the app server requires a VPN connection
  2. Is there any way by which I can access http://myMachine_Name on the iPad , and given that my local machine would be connected to VPN.
  3. Is there any iPad app which can help in testing..My main purpose is to have the fastest way to test any changes I make on the iPad and that I think would be to directly access http://myMachine_Name on the iPad Safari. But I do not know how.

Note: By VPN, I mean it is connected to another network at a remote location. Also the iPad is connected to the internet via a Wifi connection on MAC which is on the same local network as my Windows machine..

I think having VPN connectivity on the iPad might be an option, but I'll want to avoid that as that would require paying huge licensing fee.

Please let me know if I need to provide any other clarifications..

Thank you.

share|improve this question
add comment

2 Answers 2

up vote 1 down vote accepted

You don't want to access localhost on your iPad because you're not running a webserver on your iPad. I'm not sure if I understand the question, but it sounds like you are running the webserver on you Windows machine and you can access it on that machine at http://windows-pc-name.

I'm not entirely sure what you mean by "the app server requires a VPN connection," but it sounds like you need to connect to the remote network in order to run the webapp. Generally all traffic is sent over VPN so that is probably why you can't visit http://windows-pc-name on your iPad's browser. I would see if you can configure your webserver to use VPN, and not have your Windows network connection go through VPN. That way the server can communicate with the remote network, but it won't interfere with anything else.

Just in case you are using the wrong name, try http://192.168.1.101 or whatever you Windows Machine's local IP address is.

share|improve this answer
    
Hi styfle.First of all, thank you for answering the question. Just to reiterate; 1. Yes, I am running a weblogic server on my windows machine and access it via windows-pc-name on that same machine. 2. Actually the weblogic (app server) requires VPN connection (though I am not very sure, but think it is coz of some database which is only accessible via VPN)..I cannot access the web app on my Windows PC browser if I am not connected to the VPN (i.e. the app server does not work) Now I want to somehow access the same web app on my iPad.i.e.the windows-pc-name I access on Windows –  hmthr Apr 23 '11 at 8:39
    
The main issue is..since the Windows machine is on VPN, the iPad cannot access it (even though they are on the same LAN and indirectly connected via the same router)..I mean the iPad connects to the internet via a shared connection on a same local MAC. –  hmthr Apr 23 '11 at 8:53
    
I have not used weblogic before but can you configure it to use the VPN without configuring your whole machine to use VPN? –  styfle Apr 23 '11 at 9:15
    
Have you tried to connect your iPad/Mac to the same VPN ?? - it should then be on the same network. –  Rene Larsen Apr 23 '11 at 10:06
    
Another solution could be to find your public IP-adr. of the Windows PC. You can try to get the IP-adr. with this page: myipaddress.com - then try to see if you can get a connection from your iPad by using the found IP-adr. –  Rene Larsen Apr 23 '11 at 10:11
show 8 more comments

you can not access your local computer to the ipad because ipad runs in web service well if you connect computer and ipad both of them to internet then you can access through ipad vpn.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.