Error 0x00002EE2 while enabling Hyper-V replication to another Hyper-V server. This can be caused by the firewall and fixed by setting Hyper-V Replica HTTP Listener (TCP-In) rule to enabled.
To fix go to the replica receiving Hyper-V server:
Windows Defender Firewall with Advanced Security – Inbound Rules
Hyper-V Replica HTTP Listener (TCP-In) – enable the rule.