邮箱认证问题,mac sail 环境下 MailHog 无法连接问题: Connection could not be established with host "127.0.0.1:1025"
1. 运行环境
1). 当前使用的 Laravel 版本?
laravel 9.4.1
2). 当前使用的 php/php-fpm 版本?
PHP 版本:PHP 8.1.3 (cli)
3). 当前系统
macos monterey intel 非 M1,laravel sail
4). 业务环境
开发环境
2. 问题描述?
1.在注册时,邮箱验证中出现错误提示:Connection could not be established with host “127.0.0.1:1025”: stream_socket_client(): Unable to connect to 127.0.0.1:1025 (Connection refused)
2.备注说明:MailHog 能正常访问
推荐文章: