Friday, January 22, 2016

Application Error net::ERR_CONNECTION_REFUSED in Visual Studio Emulator

Hi All,

While i ran into an issue while running my Cordova App in the Visual Studio Emulator. After logging in to my office 365 tenant, I was getting the following error:

Application Error net::ERR_CONNECTION_REFUSED in Visual Studio Emulator

Given i have all app configuration have been set properly in Azure AD and my settings file in my cordova app (app is o365 connected).



The solution is to use Ripple emulator since it is a browser based emulator  that runs under port 4400. So once you switch your emulator to Ripple, you will be able to login to office 365 and redirect back to the redirect url.

Hope this helps.


Post a Comment