Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access mailhog from another computer #453

Open
yasuck opened this issue Sep 6, 2023 · 1 comment
Open

Access mailhog from another computer #453

yasuck opened this issue Sep 6, 2023 · 1 comment

Comments

@yasuck
Copy link

yasuck commented Sep 6, 2023

Hey there,

Mailhog is working just fine, I am able to access to the ui through http://localhost:8025 and http://<MY_IP_ADDR>:8025 in my computer.
But it is not working when I want to access to http://<MY_IP_ADDR>:8025 from another computer on the same network as mine.

I'm able to do it with react, I can access to the app from an other computer when I start a server.

Is there something I can do about it?

@imrannewpath
Copy link

It turns out, mailhog has nothing to do with it. In my case, ufw was blocking it.
So sudo ufw allow 1025 and sudo ufw allow 8025 (if you want to access the UI) as well.

You may want to consider incoming connections on this port from specific IPs depending on the type of the network.
See this: https://rm-rf.medium.com/ufw-allow-from-specific-ip-on-specific-port-f2c013be4976

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants