You certainly can browse to localhost on the iPhone.

Jailbreak it and install a webserver, then serve your apps from it.

I do it.
-ml

On Nov 14, 2009, at 1:55 PM, Paul Carew wrote:

> we do this all the time for testing.
> You have two options after setting up the port 80 forward.
> You either browse to you public IP address (not the 192 addr, that's  
> an internal IP) or you use a service such as noip.com to set up a  
> dynamic domain name
> You cant browse to 'localhost' from you phone, as that is not a  
> public domain name.
>
>
> Best Regards
>
> --
> Paul Carew
> Close Reach Communications Inc.
> 8705 Shoal Creek Boulevard,
> Suite 115
> Austin, Texas 78757
> P: 512-576-3030
> P: 888-576-3031 - toll free
> F: 925-891-2873
> E: Paul.Carew( at )CloseReachCommunications.com
> W: www.CloseReachCommunications.com
> ----- Original Message -----
> From: sajid saiyed
> To: [email protected]
> Sent: Saturday, November 14, 2009 12:13 PM
> Subject: Local testing
>
> Hi,
> This is not somuch a question about iUI but more about how to get it  
> running and tested.
>
> I have an application I want to test on my iPhone before upploading  
> it to the web.
> I am running Windows XP with XAMPP (Apache MySQL PHP setup)
>
> I can test the app locally using my locahost URL.
>
> But I am not able to browse my localhost from my iPhone (which is on  
> the same wireless router as my laptop).
>
> So, I tried to configure port-forwarding on my router.
> I assigned my lan IP 192.xxx.xxx.xxx to forward requests to port 80.
>
> Still when I access my lan IP from iPhone, I cant get to the  
> localhost.
>
> Any suggestions???
>
> Thanks
>
> --
>
> You received this message because you are subscribed to the Google  
> Groups "iPhoneWebDev" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected] 
> .
> For more options, visit this group at 
> http://groups.google.com/group/iphonewebdev?hl= 
> .
>
> --
>
> You received this message because you are subscribed to the Google  
> Groups "iPhoneWebDev" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected] 
> .
> For more options, visit this group at 
> http://groups.google.com/group/iphonewebdev?hl= 
> .

--

You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=.


Reply via email to