title: integrating google account login in phonegap project throws could't connect to localhost
body: <p>I am trying to integrate <code>Google Account</code> login in my <code>Phonegap</code> project. As per the tutorials I referred I had set redirect uri as</p>
  
  <pre><code>http://{localhost}
  </code></pre>
  
  <p>But when I tried this in my phone it throws error as:</p>
  
  <pre><code>Application Error
  Couldn't connect to the server http://{localhost}/?code=4/...etc.
  </code></pre>
  
  <p>Is there any solution for this?</p>