The Twitter API does not parse IP addresses as URLs. This goes for both IPv4 and IPv6 addresses.
Examples:
http://85.17.201.81/
http://[2001:1af8:4100:a003:1::2]/
These URLs are perfectly valid and accessible from the internet, so they should be handled by t.co.