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 applicat开发者_高级运维ion? What would the URL to the web service on the PC be (http://localhost:49973/BaseballWebService/Service.asmx)?
Big thanks already.
Localhost means localhost. Another computer is never the localhost. Use it's IP or give it a name.
精彩评论