Connection closed in Local Agent Farm

 
Good night,
We're in 2 friends, trying to cede processing to a single CPU. After adding the external IP (they are not in local network) and the doors, with password and to start the backtetest, it appears:
Authorization on still connected agent.
Connection closed.
My PC is selling cloud processing and there is work, that is, it has no access problems.
Any tips? I already added the Windows rules to the ports, I've deactivated antvirus, firewall and it continues. Due to my being able to be sold processing, I believe that the problem is not in mine and yes in my friend.