Explanation/Reference:
B. Each virtual machine that is to be replicated must be enabled for replication (on the replica server - Server2).
C. To configure the Replica server (here Server2)
In Hyper-V Manager, click Hyper-V Settings in the Actions pane.

In the Hyper-V Settings dialog, click Replication Configuration.

In the Details pane, select Enable this computer as a Replica server.

In the Authentication and ports section, select the authentication method. For either authentication

method, specify the port to be used (the default ports are 80 for Kerberos over HTTP and 443 for certificate-based authentication over HTTPS).
If you are using certificate-based authentication, click Select Certificate and provide the request

certificate information.
Etc
Reference: Deploy Hyper-V Replica Step 2: Enable Replication