SQL Server 2014 - Replica Server not available
Instead of giving the name of the other node, I gave the IP address of the other node. Then everything went well.
BUT what the reason was that it did not accept the name, I still do not know.