views:

92

answers:

1

I have SQL Server Express and Visual Studio Web Developer Express running on my PC. In visual studio I created a web service that runs on the localhost.

On my Mac I have an iPhone application that consumes the web service. Can I connect to the PC's localhost web service inside my iPhone application? What would the URL to the web service on the PC be (http://localhost:49973/BaseballWebService/Service.asmx)?

Big thanks already.

+1  A: 

Localhost means localhost. Another computer is never the localhost. Use it's IP or give it a name.

Azeem.Butt
Thanks NSD. That makes sense. How would I create the local network or sharing? Is it created by the PC?
Bryan