Someone did not think this through. IPV6 address with a port.
http://127.0.0.1:8002 works fine.
The solution^D^Dhack is to surround the IP with square brackets: http://[::1]:8002
And the worst part: the format for ipv6 was known when the port syntax in URLs was introduced.
@berkes oh eff!
@berkes Don't despair, there's always worse than worse. Never can remember
whether it's -P <port> or -p <port> on a ssh/scp command and often
guess wrong? Why not use ssh:// urls, look this works
Last login: Mon Feb 24 12:37:59 2020 from 127.0.0.1
Sadly, no ipv6
usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface]
scp ssh://[127.0.0.1]:2222/foo bar
ssh: Could not resolve hostname ssh: Name or service not known
@janneke Yea. [ ] was a poor choice, because in most languages and shells, it already has a meaning. And must be escaped.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!