mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #890] [Issue]: Default Port is already taken by software you will want to interoperate with (Move to 7869) #434
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#434
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @LeRobber on GitHub (May 15, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/890
Originally assigned to: @cha1latte on GitHub.
Summary
Stable Diffusion is an image generator that is popular for generating imagery locally. It runs (and has for years) through Automatic1111 on port 7860
Expected behavior
When someone installs ME, the default port SHOULD be 7869 (or some other port than 7860)
Actual behavior
Someone navigates to http://localhost:7860, and they see the HTTP endpoint for stable diffusion, which they've never seen before, but have running on their machine because they use it, possibly with sillytavern or possibly, with other things in comfyUI
This forces them to 1> recognize this screwed up like this and 2> figure out how to launch ME on a different port.
Steps to reproduce
if you use something like drawthings.app on mac which is only on SOMETIMES:
Then
Environment
Logs, screenshots, or video
══════════════════════════════════════════
Starting Marinara Engine on http://127.0.0.1:7860
Press Ctrl+C to stop
══════════════════════════════════════════
Should read
══════════════════════════════════════════
Starting Marinara Engine on http://127.0.0.1:7869
Press Ctrl+C to stop
══════════════════════════════════════════
Additional context
Sillytavern recognized that port as Automatic1111's port (that's a popular stable diffusion port). This is not just me .
https://github.com/search?q=repo%3ASillyTavern%2FSillyTavern%207860&type=code
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@LeRobber commented on GitHub (May 15, 2026):
Yes, I know how to work around this FOR ME but you are breaking image generation for OTHER software that you share a forum with currently.
Here is the workaround for anyone who experiences it on mac/linux:
Since the port default is set on line 204 of start.sh, you run ME like this instead of the normal way:
PORT=7869 bash ./start.sh
@cha1latte commented on GitHub (May 15, 2026):
Thanks for the detailed report.
I’m going to keep this tracked as a bug/UX issue rather than treating the exact requested port change as the only possible fix. A safer first step may be to improve startup behavior around occupied ports: detect the collision clearly, avoid opening the browser to the wrong service, and tell users how to launch Marinara on another port, e.g.
PORT=7869 bash ./start.sh. Changing the canonical default port globally is also possible, but it has a wider blast radius across docs, installers, Android, dev proxy behavior, and callback defaults, so that should be handled deliberately.@LeRobber commented on GitHub (May 15, 2026):
I understand it's hard, but it's bad to take a port that breaks related software that you are competing with in a hard way, but that you still use the forum of. This will never get easier than now. This is what it looks like for people right now:
As you break software that ISN'T yours with this (in the case people turn image generation backends on and off, as they do to unload it from vram), that IS likely to be run on the same system, and IS on a subreddit you share:
it's not just inconvenient for ME users on startup, this breaks their image gen in sillytavern intermittently in a way that's hard to debug.
Politically, I feel it's a nonstarter to stay on 7860.
@LeRobber commented on GitHub (May 15, 2026):
Fixed in https://github.com/LeRobber/Marinara-Engine/tree/fixingME890
github.com/LeRobber/Marinara-Engine@d5a02d7220&github.com/LeRobber/Marinara-Engine@5d22e9f99b@LeRobber commented on GitHub (May 15, 2026):
FYI re that block:
pnpm checkpasses locallyIt runs on the correct port now 7869. It doesn't conflict with any apparent common local LLM/image gen ports. 7869 was not on a few random "what's on this port" websites.
CONTRIBUTING.mdFWIW, I am an actual software dev. It is unlikely this really breaks anything for new users but, depending on how many weird ways people used this in docker, a few might need to run the app slightly differently.
I don't have docker setup locally, is there someone who can check this on there?
@LeRobber commented on GitHub (May 15, 2026):
Also verified this was correctly connected to on iOS
This update was made without the assistance of AI, made on github.dev with the find and replace, then this human reading over the changes.