I write a dashcode program and run it to test. this should connect to http://localhost:50853/index.html but fails to do so with a "could not connect to the server". THis worked some months ago when i was last working on it but have done several update since then. Also i cannot see anywhere to tweek this address. looks as though it is fixed.
Asked
Active
Viewed 519 times
1
-
The project83 blog has a good post on this: http://www.project83.com/blog/how-to-test-iphone-websites-locally-with-the-iphone-simulator/ – Patrick Fowler Apr 29 '11 at 21:58
1 Answers
0
Make sure your /etc/hosts has a line like this.
127.0.0.1 localhost
This fixed my problem.

james sa
- 631
- 5
- 14