Forgot to strip the newline on the IP address.