سؤال

iPhone Simulator can not open (localhost) http://127.0.0.1:8000/foo/bar/enter image description here

What is the reason?

هل كانت مفيدة؟

المحلول

The iOS Simulator uses the host machine network so you should be able to just use localhost or your machines IP address, whichever IP your web service is listening on.

So, try out this:

http://localhost:8000/your_path
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top