Hyper-V Replication Fails Between Standalone Windows Server 2022 Hosts

fti-samadhan 40 Reputation points
2024-12-09T13:25:25.96+00:00

I am trying to set up Hyper-V replication between two standalone Windows Server 2022 hosts (not part of an Active Directory domain). Despite following the required steps, I am encountering an error when enabling replication. The error states:

Enabling replication failed.
Hyper-V failed to enable replication.

Hyper-V was unable to establish a connection with the replica server.

Hyper-V failed to enable replication for virtual machine 'Debian 12': %%12030 (0x00002EFE). (Virtual machine ID E1E8D0E6-A683-4968-8E98-419E2258CDE1)

Hyper-V could not establish a connection to replica server 'WIN-17VPVFVOKGO.local' on port '80'. Error: %%12030 (0x00002EFE).

translated_image_en (6)

Setup Details:

  1. Primary Server: Server02
  2. Replica Server: Server09
  3. Virtual Machine: Debian12
  4. Authentication: Kerberos (HTTP) on port 80
  5. Environment:
    • Both servers are physically co-located and standalone (not AD members).
      • Firewalls on both servers have the rule "Hyper-V Replica HTTP Listener (TCP-In)" enabled for port 80.
        • Replication is configured to allow connections from any authenticated server.

Steps Followed:

  1. Installed the Hyper-V role on both servers.
  2. Enabled "Allow this computer to act as a Replica Server" in Hyper-V settings on both host
  3. Primary Server: Server1User's image
  4. Replica Server: Server02User's image
  5. Selected Use Kerberos (HTTP) and set the port to 80 under the authentication and port settings.
  6. Enabled the firewall rule: Hyper-V Replica HTTP Listener (TCP-In) on both servers.
  7. Attempted to enable replication from the primary host for a specific virtual machineUser's imageSystem defaulting to port 443 when HTTP (port 80) is explicitly selected.
  8. User's image
  9. User's image

User's image

User's image

Error :

☑ Enabling replication failed.

Hyper-V failed to enable replication.

Hyper-V cannot connect to the replica server.

Hyper-V failed to enable replication for the virtual machine 'Debian12_Network_Installation': %%12002 (0x00002EE2). (Virtual machine ID B1FE98FA-95EA-4CF7-AADB-1D60D587B3A4)

Hyper-V cannot connect to the specified replica server 'WIN-HG604ASL06L.local'. Error: %%12002 (0x00002EE2). Verify that the specified server is enabled as a replica server, accepts incoming connections on port '443', and supports the same authentication scheme.

  1. translated_image_en (7)

User's image

  1. I have changed the port no to 80 and retry
  2. User's image

User's image

translated_image_en (6)

Error Observed: When configuring the connection parameters for replication, the default port is set to 443 (which is for HTTPS). I manually updated it to 80 (as we are using HTTP). However, enabling replication fails with the attached error message (screenshot).

**
Questions:**

  1. Why is the system defaulting to port 443 when HTTP (port 80) is explicitly selected?
  2. Is there a specific configuration required for Kerberos authentication between standalone servers?
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,726 questions
Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,837 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ian Xue-MSFT 40,746 Reputation points Microsoft External Staff
    2024-12-11T03:07:01.0633333+00:00

    Hi fti-samadhan,

    Thanks for your post. We have encountered similar issue. This issue is almost always related to firewall blocking. If you can ping the machines across the VPN I would recommend reviewing your vpn/firewall setup to ensure port 80 is not being filtered at the hardware vpn/firewall. In fact, just create an IP to IP rule between hosts. Additionally, on the local “Microsoft” or other firewall, make sure the same rules exist for the domain profile. While troubleshooting you might consider adding the rules for all profiles.


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.