added check for datahub ip address