Jens Bergvall
Jens Bergvall

Reputation: 1627

Connecting to a local network through iOS-device debugging

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

Answers (2)

Suhail Bhat
Suhail Bhat

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

Alex Terente
Alex Terente

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

Related Questions