0
I am trying to curl ipv6 adresses, but without success.
If i try lets say:
curl https://google.com
I wait for a timeout and get network unreachable
If i force ipv4
, everything is fine.
curl -4 https://google.com
Then again if i force ipv6, like this:
curl -6 https://google.com
i get:
curl: (7) Failed to connect to 2800:3f0:4001:806::1005: Network is unreachable
I suppose it has to do somehow with resolving ipv6
adresses.
I saw that on other computers that have a newer version of some linux distro, these requests go fine, so i'm guessing it has to do something with me using ubuntu 10.10
, where this problem isn't solved.
I want to be able to curl normally without using the option: -4
, what do i have to modify to be able to use curl normally with ipv6
adresses?
further answers can be found on this duplicate question. Regarding duplicate questions please take a look here
– bummi – 2015-07-16T12:54:56.727See my answer to the same question posted at http://unix.stackexchange.com/a/220149/43835
– mc0e – 2015-08-04T15:09:18.417It sounds like you have broken IPv6 connectivity, so you need to figure out why it's broken. Start with some basic information such as
– Michael Hampton – 2013-09-16T02:33:43.723ip addr
and a description of your network and your ISP.