Can't add gmail account

Trying to add Gmail account and it doesn’t work:

http://localhost:49834/?code=

This site can’t be reached

localhost  refused to connect.

It does this on 2 different Win 10 computers.

If the email account is setup as IMAP, remove it from eM Client. Then close any VPN or other proxy applications, and try again by using the Automatic Setup.

How to start automatic setup ?

Go to Menu > Tools > Accounts and add a new account by clicking on the + icon.

Then use the Automatic Setup.

Thanks.