Unable to resolve hosts for Mail, Jenkins, and RabbitMQ

Edit on GitHub


The issue occurs when setting up Docker and WSL 2 and adding routes to etc/hosts in one line on Windows. Host file has row


The cause of the issue might be in the maximum length limitaion of a line that you can have in your hosts file in Windows.


In the hosts file, start a new line with, and then add routes for services for which the hosts are not resolved.