cannot connect to IP address in Chrome or Firefox
hunanboy opened this issue · 6 comments
After successfully launching app, I got following two IPs in console. Not able to connect to either one in Chrome or Firefox. System is Mac OS X 10.7.4. Firewall is turned off. HV version is 1.4.6.
Stil problem with that ? Maybe browser cache problems.
The first IP is localhost, so you'd have to load it from the same device you're trying to debug, and the second IP (appears) to be a WAN IP from a mobile provider. I'd make sure you have wifi enabled and you can ping the iDevice before trying to connect over HTTP.
Thanks for help. It's true when I run the app on simulator (I only tested on device before), 127.0.0.1:9449 works. Yet another ip still don't work. I tried to ping it and get this:
--- 10.58.0.230 ping statistics ---
10 packets transmitted, 0 packets received, 100.0% packet loss
PS: I am sure my wifi is enabled.
A weird thing is I got THREE ip instead of two in console today. 192.168.0.4:9449 only works when running app on device, not on simulator. http://127.0.0.1:9449 works on simulator only. http://10.58.0.230:9449 never ever works.
What I got today:
(lo0): http://127.0.0.1:9449
(pdp_ip0): http://10.58.0.230:9449
(en0): http://192.168.0.4:9449
- 192.168.0.4 is your wifi IP (you should connect here!)
- 127.0.0.1 is localhost (only accessible from the same host)
- 10.58.0.230 is (presumably) your cell data provider IP (most likely it
is firewalled/natted/masq'd and you won't be able to connect here)
On 2/3/13 1:07 PM, philipchung007 wrote:
Thanks for help. It's true when I run the app on simulator (I only
tested on device before), 127.0.0.1:9449 works. Yet another ip still
don't work. I tried to ping it and get this:--- 10.58.0.230 ping statistics ---
10 packets transmitted, 0 packets received, 100.0% packet lossPS: I am sure my wifi is enabled.
A weird thing is I got THREE ip instead of two in console today. Any idea?
What I got today:
iOS Hierarchy Viewer ver: 1.4.6
(lo0): http://127.0.0.1:9449
(pdp_ip0): http://10.58.0.230:9449
(en0): http://192.168.0.4:9449—
Reply to this email directly or view it on GitHub
#11 (comment).
Why I didn't get the wifi IP yesterday? I remember I was connected. Any other possibilities?
@philipchung007 did you get it to work?