@joelpiccoli It probably shouldn't make a difference... but have you tried MAIL_HOST=localhost?
Feb 13, 2022
5
Level 2
HELO on Windows WSL2
Hello everyone! I'm facing a little issue using HELO on Windows WSL2, I'm testing the tool before buying it, and I can't manage to use it on windows wsl2.
I got the Connection refused error as bellow:
Connection could not be established with host "127.0.0.1:2525": stream_socket_client(): Unable to connect to 127.0.0.1:2525 (Connection refused)
But the connection on .env is as described on the docs.
MAIL_MAILER=smtp
MAIL_HOST=127.0.0.1
MAIL_PORT=2525
MAIL_USERNAME=Inbox-Name
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
Anyone have ever faced this issue too?
Level 5
Haven't used HELO, I'm assuming you are running it on Windows so the SMTP server is "outside" of WSL2 where your code is running, so maybe this could help? WSL - Accessing Windows networking apps from Linux (host IP)
Edit: Also considerate checking the firewall and if port 2525 is accessible.
1 like
Please or to participate in this conversation.