Added exception handling for hostname and IP
Added exception handling for hostname and IP

GluuFederation/community-edition-setup,GluuFederation/community-edition-setup,GluuFederation/community-edition-setup