Integrate Google (Gmail) Authentication in Asp.Net MVC 5.0 - OAuth 2.0

http://www.codedigest.com/posts/13/integrate-google-gmail-authentication-in-aspnet-mvc-50---oauth-20

I will try to use Google Authentication by referring to the method listed above.

You have successfully generated and entered the client ID and password.

However, when I run, I get an error message that says, " localhost has denied connection. "

Can not connect to site

localhost so I can not connect to

Attempt :

Check connection

Check Proxy and Firewall

ERR_CONNECTION_REFUSED

How can I fix the following errors? Get back to me.