Skip to content

Replace localhost instances with 127.0.0.1

feistel requested to merge feistel/gitlab-pages:fix/localhost-test into master

What does this MR do?

I've bumped into a few edge cases in systems where /etc/hosts was missing and the DNS was failing to resolve localhost. This wasn't obvious since listeners are set up using 127.0.0.1 as the address, but localhost is used in a few places.
This changes all instances of localhost to 127.0.0.1 for consistency.

Note: it only affects the tests.

TODO

Merge request reports