What kind of device(s) are you using?
What web server software are you using? e.g. WAMP, MAMP, etc.
Can you successfully connect to the localhost page(s) using the browser on the device?
Hi Carey, thank for the reply.
1) I'm using a Mac, Chrome and an iPhone.
2) And I'm not using MAMP. My project is built with django.
3) When I enter http://127.0.0.1:8000/ or localhost in my iPhone's Safari it says it's "not connected to the server".
I don't know much about django, but I assume it should work and serve up the web content in this scenario fine. You're running django from the same computer where you're running Edge Inspect, right?
If so, you won't be able to use either of the URLs you noted in #3 there, both of those addresses will try to get the content from the phone itself. Instead of using localhost or 127.0.0.1, you need to put in the IP address of the computer hosting the content. You can find the correct IP address at the top of the Edge Inspect dialog in Chrome. Try that in Safari on your iPhone and let us know if that works or not.
What I did -> In the iPhone app: manually type in and connect to the IP address from Chrome's Edge Inspect widget. Enter passcode from phone in Chrome's widget... And it didn't work. It gives me the same screen I posted earlier: "web page not available". And going to the IP address in my computer's browser doesn't show me my app, like localhost does.
Ok, a few questions:
- Does Edge Inspect work normally for you if you go to an external website like http://www.google.com ?
- What exactly is the URL you're putting into Chrome when you see the site in your browser?
- What exactly is the URL you put into Chrome from the previous message when you used the IP address and it didn't show you your page.
- Do this and tell me what happens:
- Close Edge Inspect on your iPhone
- Open Safari on your iPhone and type in the URL to your web page, but use your computer's IP address rather than "localhost"
- What do you see in Safari on the iPhone?
1. Yes, it does. It works as expected.
4. I get this message "Safari could not open the page because the server stopped responding"
1 person found this helpful
Ok, here's what's going on... your django server is serving up content, but only to your local machine. It's not serving up content to external computers/devices mostly likely because there is a django configuration setting that's preventing it, most likely for security reasons. That's what the answer to #3 tells me. If Safari on your iPhone can't reach your web page by the computer's IP addres, then Edge Inspect won't be able to either.
You need to look into the django settings/configuration and make sure that it can serve up content externally to your computer. Once you get that fixed you should be good to go with Edge Inspect.
Hope this helps,
The solution was to explicitly serve the app using my local ip, by running
/manage.py runserver 192.168.1.101:8000
All good now, thanks Mark
Im glade it helped Samantaelena, but i am stuck i dont get what is explaind to Samantaelena. "
/manage.py runserver 192.168.1.101:8000"
how and where do i change this?!
Im on a mac trying edge to work with my localhost on my iPad and iPhone bought dont work.
Does someone have a some what more detailt explaination to get it to work?
Samantaelena had a pretty unusual situation, he or she was running Django. I suspect you're not doing that, are you?
Are you running any web server at all from your computer? If not, you need to do that to be able to share your local web pages with devices outside your computer. There are instructions on how to set up web sharing on a Mac here: http://www.macinstruct.com/node/112
Note that the instructions tell you to turn on your firewall, and that's probably a good idea, but you'll need to make sure you allow traffic over port 7682 and that you specifically allow the Edge Inspect application access through your firewall. As a first test, set up web sharing and then make sure your firewall is OFF. Run a test to see if your devices can access localhost then. Once you've got that working you can go set up the firewall properly.
Hope this helps,