Activation of IP and Port

I isloate server from internet with firewall. Can I know which port and IP needs to be opened for activating license?