It seems that trying to call open_url without a domain does not work. Using a domain/hostname works fine, and I'm not even sure how it would be possible to parse IPv6 (example, ::1) since that would throw an invalid port error.
edit: Forgot about wrapping ipv6 in [], though that does not work here.