I am trying to connect my test device to my local server -- and while the simulator works fine accessing localhost:8000, I can't seem to connect from the device. This despite the fact that the device and my computer are both connected to the same wifi network.
So far, I have tried to get this to work by going to system prefs -> network -> grabbing the IP address from where it says 'Wi-Fi is connected to myWifiNetwork and has the IP address 10.0.0.52'.
Then, i go to safari on my device and type in http://10.0.0.52:8000
. This however, gives me a message about being unable to connect to the server.
I've also tried using the 'name' of my computer (which i grab from System Prefs->Sharing or more simply from the terminal window) and try typing that in on the device's browser like so: http://myMac:8000
That does not work either.
Any ideas?
Thanks