We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
/etc/hosts has the following entries:
/etc/hosts
127.0.1.1 localhost localhost ip4-loopback 127.0.0.1 localhost nettuno travis vagrant travis-job-xxxx
This means that localhost is always resolved to 127.0.1.1 instead of 127.0.0.1.
localhost
127.0.1.1
127.0.0.1
Please post on https://travis-ci.community instead. Thank you!
sudo sed -i 's/127\.0\.1\.1 localhost/127.0.0.1 localhost/' /etc/hosts fixes it
sudo sed -i 's/127\.0\.1\.1 localhost/127.0.0.1 localhost/' /etc/hosts
Activity
close-issue-app commentedon Aug 17, 2019
Please post on https://travis-ci.community instead. Thank you!
nicolas-grekas commentedon Jun 9, 2021
sudo sed -i 's/127\.0\.1\.1 localhost/127.0.0.1 localhost/' /etc/hosts
fixes it