Read original post by Samidip Basu at Ramblings of a MSFT Developer
This has been documented before in MSDN and couple of other blogs; but I struggled for a few hours and went through several resources before figuring out what needed to be done as a solution. Just sharing my way of getting stuff to work ..
The Problem:
You are developing a Windows Phone 8 app using the emulator and want to consume/interact with a service/website on local development machine. The server side mimics the backend service powering your Windows Phone app; this could be in the form of a WCF Web Service or a Web API endpoint or in my case, a SignalR Hub for real-time connectivity. This seemingly simple task of connecting the Windows Phone emulator running the Phone app to the service/website on local machine actually turns out to be a tricky one.