You can use the -6 flag in cURL or wget to use the IPv6 address of a domain, like google.com.I was unable to fetch pages by explicitly passing an IPv6 address.I tried:wget -6 http://[fe80::a00:27ff:fe00:80b9]:8080/That host is definitely running a server on on 8080 over IPv6 on my local network, confirmed with netstat and ifconfig. When I run the above I get Connecting to fe80:a00:27ff:fe00:80b9:8080... failed: Invalid argument. It's obvious by the error message that the IPv6 address and port are not interpreted as I was expecting.When I google, all examples are for using -6 and a domain name, couldn't find an example with explicit IPv6 address.
wget and cURL an explicit IPv6 Address
wget;curl;ipv6