localhost:8025: what runs on it and how to open it
Port 8025 is the inbox page of the MailHog and Mailpit email testing tools. How to open it and fix errors.
Open this address: http://localhost:8025This opens on your own computer. It only works if the program is running.
localhost:8025 is the web inbox of MailHog and Mailpit. They catch the emails your app sends during development, so nothing reaches real people. Your app sends mail to port 1025.
What runs on localhost:8025
- Mailpit with Docker, web inbox on port 8025
- MailHog, web inbox on port 8025
- Your app sends mail to localhost:1025 (SMTP)
Commands to start and test port 8025
docker run -d -p 8025:8025 -p 1025:1025 axllent/mailpitdocker run -d -p 8025:8025 -p 1025:1025 mailhog/mailhogFind what is using port 8025
Run these in a terminal on your computer. Nothing is sent to this site.
If localhost:8025 will not open
- No emails show up
- Set your app’s mail server to localhost, port 1025, with no login and no encryption.
- Port 8025 is already in use
- Another program is on port 8025. Find it with the tool below and stop it, or start yours on another port.
- This site can’t be reached (ERR_CONNECTION_REFUSED)
- The server is not running. Start it and keep that terminal open. See the full checklist.
Other ports like 8025
| Port | Usually used by |
|---|---|
| localhost:11434 | Ollama (AI models) |
| localhost:5601 | Kibana |
| localhost:11501 | Not a standard port: check what is using it |
| localhost:9200 | Elasticsearch |
| localhost:5672 | RabbitMQ |
| localhost:15672 | RabbitMQ admin page |
| localhost:9090 | Prometheus |
Questions about localhost:8025
- What is the difference between ports 1025 and 8025?
- 1025 receives mail from your app (SMTP). 8025 is the web page where you read it.
- Is localhost:8025 safe?
- Yes while it stays on localhost. Tools like this often show sensitive data, so keep them off the public internet and put a login in front of them if other people can reach the port.
- Can I use a different port instead of 8025?
- Yes. Most programs let you choose the port with a setting or a command option. Pick a free port above 1024 and open that number instead, for example localhost:8026.
- How do I check what is using port 8025?
- Use the port checker on this page. It shows the command for Windows, macOS and Linux and does not send anything to this site.
Free tools that help
- Common ports listSearch a list of common TCP and UDP port numbers: SSH 22, HTTP 80, HTTPS 443, MySQL 3306, PostgreSQL 5432 and more, with dev server ports.