In Linux, you can make IPv4 traffic have a higher priority than IPv6 by running the following command:

sudo sh -c "echo 'precedence ::ffff:0:0/96 100' >> /etc/gai.conf"

This is useful for when Composer starts giving random timeout errors.

Final thoughts

Who knows what the real issue is, though. Or what this command does exactly, for that matter.

Previous on Linux
Mastodon Mastodon