MailHog的web界面显示空白

1. 运行环境

MacOS
//: <> (当前使用的Go版本,及系统版本、系统架构?)
go version go1.20.7 darwin/arm64
//: <> (使用go version 命令查看,期望的结果如:go 1.12, linux/amd64)

2. 问题描述?

bash-3.2$ MailHog
2023/08/10 11:18:27 Using in-memory storage
2023/08/10 11:18:27 [SMTP] Binding to address: 0.0.0.0:1025
[HTTP] Binding to address: 0.0.0.0:8025
2023/08/10 11:18:27 Serving under 0.0.0.0:8025/
Creating API v1 with WebPath:
Creating API v2 with WebPath:
[APIv1] KEEPALIVE /api/v1/events

3. 您期望得到的结果?

4. 您实际得到的结果?


//: <> (有报错信息的话把堆栈信息提供出来)

讨论数量: 4

file

8个月前 评论
Cypresslxl (作者) (楼主) 8个月前

localhost:8025/ chrome或firefox需要使用127.0.0.1或localhost

8个月前 评论

MailHog -smtp-bind-addr 0.0.0.0:1028 -api-bind-addr 127.0.0.1:8026 -ui-bind-addr 127.0.0.1:8026 我这样就行了

2个月前 评论

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!