Fix pattern for hostname to match IP addresses

e.g. http://192.168.1.1