I had that issue too. Then it disappeared on its own. I'm not sure what it was related to. I always had ESET Smart Security installed. That is, Nod32 v3 + firewall.
Please help me, I did everything as described to play on Ubisoft servers, entered the key, registered an account, then in the game I enter my nickname and password, it says connecting to the server and immediately returns to the main game menu! What's the problem here? I'm sure I have a licensed disc!