Connection could not be established with host "mailhog:1025": stream_socket_client(): php_network_getaddresses: getaddrinfo for mailhog failed: No such host is known.|
how to fix it ?
Hi Yudi Wiputra
Please check your .env file to ensure that the MailHog configuration is correct. Specifically, verify that the MAIL_MAILER is set to "smtp", MAIL_HOST is set to "mailhog", and MAIL_PORT is set to 1025. If any of these values are incorrect, update them accordingly and try running your Laravel application again.