skip to Main Content

PHP Get IPv4 Address

I have trouble getting IPv4 Address, as IPv6 seems automatically preferred. However, this is very difficult, as my IP Whitelist system uses solely IPv4. I am using following code to get the IP of the client: $client_ip = $_SERVER['HTTP_X_FORWARDED_FOR']; And…

VIEW QUESTION

Docker Authentification: failed to fetch anonymous token

I got the following error inside my gitlab runner: ERROR: failed to authorize: failed to fetch anonymous token: Get "https://auth.ipv6.docker.com/token?scope=repository%3Alibrary%2Fnode%3Apull&service=registry.docker.io": dial tcp [2600:1f18:2148:bc02:4bf0:3a98:55ae:e3d5]:443: connect: cannot assign requested address see: https://docs.docker.com/registry/spec/auth/token/ Is there a way to change auth.ipv6.docker.com with auth.ipv4.docker.com somewhere…

VIEW QUESTION
Back To Top
Search