Reputation: 1627
I have an application that uses a local ip-adress to connect to a soap based web-service. It works perfectly fine to debug through the simulator, however, when trying to debug the project on an actual iPhone-device it cannot reach the local network's soap-service.
Has anyone run into this and know if this is actually possible or do we need WiFi to be able to debug to a non-local ip-address, or is even that possible?
Upvotes: 0
Views: 971
Reputation: 453
If you are connected to a common wifi network say eg office wifi or home network. You can check the local ip of your computer for that network by ipconfig of ifconfig. Use same ip on app. You will be able to access. Cheers.
Upvotes: 0
Reputation: 12036
You can not access your local ip address from 3G only on wifi. You access it from 3G you need an public ip on the server that you have the web service.
Upvotes: 1