Recently I deployed a new Horizon 7 environment and with it vROps for Horizon, when I first tried to pair the Broker agent with the Horizon adapter I received the following error.
Could not pair with the adapter address IP_ADDRESS. An error has occurred. Failed to pair the adapter. Operation adaptor pairing has failed.
I was using the default port and DNS was working. The issue here was the firewall rules needed to be updated on the appliance after the Horizon Adapter was installed, this looks to be from Horizon Adapter v6.2 onwards (I was using 6.3). VMware KB.
First enable SSH on the appliance, logon to the console and run
> service sshd start
Then edit /opt/vmware/etc/vmware-vcops-firewall.conf. Edit and add the following
Save the file and restart the services
Pairing now works fine