jQuery validation plugin - localhost URL

jQuery validation plugin - localhost URL

I'm using the jQuery validation plugin on my application and it works great.  I ran into a problem, however, where a valid input for a URL field is something like "http://localhost:777/api/".  When I apply the url rule for this field, it breaks.  What would be the best way to handle this?