Mailpit Link contains wrong port

What issue or error are you experiencing?

When I click the link in Tools > Mailpit to open Mailpit in the browser it points to http://localhost:10005. Mailpit is running on port 8025. The port 10005 is used from mariadb. How can I change the link in localwp to point to 8025?

What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc

System Details

  • Local Version: Version 8.3.1+6650

  • Operating System (OS) and OS version: MacOS Sonoma latest (root:xnu-10063.101.15~2/RELEASE_ARM64_T6020 arm64)

Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)

not available

Hi, @STC-digital.

On macOS, the port comes from the ports.WEB value stored in ~/Library/Application\ Support/Local/sites.json for your site.

You can modify it directly if needed, then stop any running sites and restart Local. I recommend taking a backup of your sites.json file first (for example, by duplicating it as sites-backup.json).

      "mailpit": {
        "name": "mailpit",
        "version": "1.12.1",
        "type": "lightning",
        "ports": { "WEB": [10005], "SMTP": [10006] }

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.