“localhost” is an oddball because it can either map to ::1
or 127.0.0.1/8
… and we’ve seen ::1
take precedence like this in the past including when offloading traffic to ‘localhost’. This user with minecraft and I had a hard time tracking this one down: Problems with Docker Compose setup and Minecraft Example - #31 by TheLumberjack