No, localhost should work fine. It's not Google's servers, but your browser that connects to this url after being redirected from Google. So as long as your browser can see it it should work.