URL validation won't work for IP addresses. It is looking for a domain name not a bunch of numbers. You can probably use a regular expression validation instead.
This site: http://www.regexlib.com can be a good resource for finding regular expressions that meet your needs for validation.