Added another check to IP to ensure loopback address is not used