Hi Chukka, Rani ,
Thankyou for using Microsoft Q&A platform and thanks for posting your question here.
From the description of your question , it seems you are getting error while registering the Self hosted IR in your virtual machine.
It seems that the issue is related to the firewall, probably you need to configure the outbound ports.
At the corporate firewall level, you need to configure the following domains and outbound ports:
For additional details, kindly check the below resources:
Self-Hosted Integration Runtime could not connect to Azure data factory
Hope it helps. Kindly accept the answer if it's helpful. Thankyou