[GH-ISSUE #3300] [Issue]: Launcher hardcodes 127.0.0.1 in startup message #1788

Closed
opened 2026-10-21 05:42:43 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Jul 6, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3300

Originally assigned to: @SpicyMarinara on GitHub.

Summary

The launcher startup message hardcodes 127.0.0.1 even when Marinara Engine may be configured to bind to another host such as 0.0.0.0. This can mislead users about the actual configured host/address.

Expected behavior

The startup message should display the configured HOST, the resolved bind address, or otherwise clearly distinguish between the bind address and a browser-friendly URL.

Actual behavior

The launcher prints Starting Marinara Engine on ${PROTOCOL}://127.0.0.1:$PORT regardless of the configured host.

Steps to reproduce

  1. Configure Marinara Engine to listen on a host other than 127.0.0.1, such as 0.0.0.0, using the supported HOST configuration.
  2. Start Marinara Engine using the launcher/start script.
  3. Observe that the printed startup URL still uses 127.0.0.1.

Environment

  • Marinara Engine version: Not provided
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

Relevant startup script output/code noted in Discord: echo " Starting Marinara Engine on ${PROTOCOL}://127.0.0.1:$PORT"

Additional context

Exact file path was not confirmed from the Discord context. Maintainer should check the launcher/start script that emits the startup URL. If the server binds to 0.0.0.0, consider whether the message should show the bind host, a user-facing browser URL, or both.

Discord thread: Hardcoded localhost in start.sh
Discord thread link: https://discord.com/channels/1417099416812392641/1523497326038089859
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (4 messages)
[2026-07-06T01:14:27.739Z] Era: The launcher always prints 127.0.0.1:
` ` `
echo "    Starting Marinara Engine on ${PROTOCOL}://127.0.0.1:$PORT"
` ` `
This is misleading because the server may actually be listening on 0.0.0.0 (or whatever HOST is configured to). The message should probably use ${HOST} (or the resolved bind address) instead of hardcoding 127.0.0.1.
[Discord message: https://discord.com/channels/1417099416812392641/1523497326038089859/1523497326038089859]

[2026-07-06T06:18:35.633Z] Marinara: @Professor Mari GitHub
[Discord message: https://discord.com/channels/1417099416812392641/1523497326038089859/1523573863252889711]

[2026-07-06T06:18:53.584Z] Professor Mari [bot]: Yep, that looks like a valid bug report. The launcher message should not hardcode `127.0.0.1` if the actual bind host can be `0.0.0.0` or configured via `HOST`.

Repo note: I searched the connected ME checkout for that exact `echo`, launcher/GitHub wording, and related `HOST/PORT/PROTOCOL` terms, but the retrieved snippets didn’t contain a direct match. So I can’t confirm the exact file path from the current context — rude of grep, honestly.

Suggested GitHub issue text:

` ` `md
Launcher prints misleading host address

The launcher currently prints:

echo "    Starting Marinara Engine on ${PROTOCOL}://127.0.0.1:$PORT"

This is misleading when the server is actually configured to listen on another HOST, e.g. 0.0.0.0.

Expected:
The startup message should display ${HOST}, the resolved bind address, or possibly both the bind address and browser URL if those differ.

Example:
Starting Marinara Engine on ${PROTOCOL}://${HOST}:$PORT
` ` `

Maintainer should check the launcher/start script that emits the startup URL and decide whether it should show the bind host or a user-facing browser URL. Those are not always the same thing, because `0.0.0.0` is a bind address, not the prettiest browser address. Kek.

I’m still an LLM, so don’t trust my judgment too blindly. :check:
[Discord message: https://discord.com/channels/1417099416812392641/1523497326038089859/1523573938544967700]

[2026-07-06T06:20:34.645Z] Marinara: Doeoxnnew
[Discord message: https://discord.com/channels/1417099416812392641/1523497326038089859/1523574362425524255]

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Jul 6, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3300 Originally assigned to: @SpicyMarinara on GitHub. ## Summary The launcher startup message hardcodes `127.0.0.1` even when Marinara Engine may be configured to bind to another host such as `0.0.0.0`. This can mislead users about the actual configured host/address. ## Expected behavior The startup message should display the configured `HOST`, the resolved bind address, or otherwise clearly distinguish between the bind address and a browser-friendly URL. ## Actual behavior The launcher prints `Starting Marinara Engine on ${PROTOCOL}://127.0.0.1:$PORT` regardless of the configured host. ## Steps to reproduce 1. Configure Marinara Engine to listen on a host other than `127.0.0.1`, such as `0.0.0.0`, using the supported `HOST` configuration. 2. Start Marinara Engine using the launcher/start script. 3. Observe that the printed startup URL still uses `127.0.0.1`. ## Environment - Marinara Engine version: Not provided - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video Relevant startup script output/code noted in Discord: `echo " Starting Marinara Engine on ${PROTOCOL}://127.0.0.1:$PORT"` ## Additional context Exact file path was not confirmed from the Discord context. Maintainer should check the launcher/start script that emits the startup URL. If the server binds to `0.0.0.0`, consider whether the message should show the bind host, a user-facing browser URL, or both. Discord thread: Hardcoded localhost in start.sh Discord thread link: https://discord.com/channels/1417099416812392641/1523497326038089859 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (4 messages)</summary> ```text [2026-07-06T01:14:27.739Z] Era: The launcher always prints 127.0.0.1: ` ` ` echo " Starting Marinara Engine on ${PROTOCOL}://127.0.0.1:$PORT" ` ` ` This is misleading because the server may actually be listening on 0.0.0.0 (or whatever HOST is configured to). The message should probably use ${HOST} (or the resolved bind address) instead of hardcoding 127.0.0.1. [Discord message: https://discord.com/channels/1417099416812392641/1523497326038089859/1523497326038089859] [2026-07-06T06:18:35.633Z] Marinara: @Professor Mari GitHub [Discord message: https://discord.com/channels/1417099416812392641/1523497326038089859/1523573863252889711] [2026-07-06T06:18:53.584Z] Professor Mari [bot]: Yep, that looks like a valid bug report. The launcher message should not hardcode `127.0.0.1` if the actual bind host can be `0.0.0.0` or configured via `HOST`. Repo note: I searched the connected ME checkout for that exact `echo`, launcher/GitHub wording, and related `HOST/PORT/PROTOCOL` terms, but the retrieved snippets didn’t contain a direct match. So I can’t confirm the exact file path from the current context — rude of grep, honestly. Suggested GitHub issue text: ` ` `md Launcher prints misleading host address The launcher currently prints: echo " Starting Marinara Engine on ${PROTOCOL}://127.0.0.1:$PORT" This is misleading when the server is actually configured to listen on another HOST, e.g. 0.0.0.0. Expected: The startup message should display ${HOST}, the resolved bind address, or possibly both the bind address and browser URL if those differ. Example: Starting Marinara Engine on ${PROTOCOL}://${HOST}:$PORT ` ` ` Maintainer should check the launcher/start script that emits the startup URL and decide whether it should show the bind host or a user-facing browser URL. Those are not always the same thing, because `0.0.0.0` is a bind address, not the prettiest browser address. Kek. I’m still an LLM, so don’t trust my judgment too blindly. :check: [Discord message: https://discord.com/channels/1417099416812392641/1523497326038089859/1523573938544967700] [2026-07-06T06:20:34.645Z] Marinara: Doeoxnnew [Discord message: https://discord.com/channels/1417099416812392641/1523497326038089859/1523574362425524255] ``` </details> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:42:43 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Jul 6, 2026):

Fixed in staging via #3305.

<!-- gh-comment-id:4891620299 --> @SpicyMarinara commented on GitHub (Jul 6, 2026): Fixed in staging via #3305.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#1788
No description provided.