Error checking for the server ip