URLs are written like this: protocol://host-or-address:port/path-or-function
What happens with ipv6 is that addresses contains colons (“:”) , so how do you specify the port number in your web browser ? The same happens when you do an scp: you usually do scp user@host:path/to/file /local/path, how can you differenciate the host part and the path which are also seperated with a colon ?
The answer is: USE BRACKETS !
an ipv6 url can be written like this:
http://[fe80::abcd:abcd:abcd:abcd]:8080/index.html
Also, a scp command with ipv6 addresses can be like this:
scp user@[fe80::abcd:abcd:abcd:abcd]:/etc/resolv.conf /tmp
I hope it’s usefull !