Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the iPhone simulator IP address?

I have been looking for the answer to this question for some time. I am doing network programming for the iPhone and it is necessary for me to use the IP address of the device. This isn't a problem on the physical device as it has its own IP address on the network. However I was wondering what was the case with it on the simulator. Does it get assigned an IP address to be used?

like image 374
Chris G Avatar asked Apr 09 '10 10:04

Chris G


2 Answers

The ip address of the machine you are running it on

like image 184
sylvanaar Avatar answered Sep 22 '22 22:09

sylvanaar


should be 127.0.0.1

like image 32
Alex Avatar answered Sep 20 '22 22:09

Alex