[GH-ISSUE #32] START-HERE.bat --port option doesn't work #17

Closed
opened 2026-11-04 01:39:02 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @uvhat on GitHub (Sep 27, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/32

If you start with custom port like START-HERE.bat --port 8888 - app will try to use default 8080 port because of this line in setup.py:

return start(have[0], None) <- port parameter is not applied

fix is

return start(have[0], a.port)

Originally created by @uvhat on GitHub (Sep 27, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/32 If you start with custom port like START-HERE.bat --port 8888 - app will try to use default 8080 port because of this line in setup.py: `return start(have[0], None)` <- port parameter is not applied fix is `return start(have[0], a.port)`
Author
Owner

@Niko1221 commented on GitHub (Sep 28, 2026):

Thanks! Fixed as you suggested, with one addition: --port used to default to 8080, so passing it straight through would also have overridden a port chosen at setup. Now START-HERE.bat --port 8888 (or ./setup.sh --port 8888) uses 8888, and without the flag the install's own port is kept. Released in 0.1.14.

<!-- gh-comment-id:5867755465 --> @Niko1221 commented on GitHub (Sep 28, 2026): Thanks! Fixed as you suggested, with one addition: `--port` used to default to 8080, so passing it straight through would also have overridden a port chosen at setup. Now `START-HERE.bat --port 8888` (or `./setup.sh --port 8888`) uses 8888, and without the flag the install's own port is kept. Released in 0.1.14.
Author
Owner

@uvhat commented on GitHub (Sep 28, 2026):

Thanks!

<!-- gh-comment-id:5874865243 --> @uvhat commented on GitHub (Sep 28, 2026): Thanks!
Author
Owner

@kelheor commented on GitHub (Sep 29, 2026):

Thanks! Fixed as you suggested, with one addition: --port used to default to 8080, so passing it straight through would also have overridden a port chosen at setup. Now START-HERE.bat --port 8888 (or ./setup.sh --port 8888) uses 8888, and without the flag the install's own port is kept. Released in 0.1.14.

Why when I run project with START-HERE.bat --port 8085 or change port in run-iq3_s.bat / strata-iq3_s.json then on start it opens http://127.0.0.1:8085/ with default llama.cpp web interface? And with error "Server unavailable Retry not found". I also can't connect to the server via Open Web UI in that case. How to properly change port?

<!-- gh-comment-id:5893037580 --> @kelheor commented on GitHub (Sep 29, 2026): > Thanks! Fixed as you suggested, with one addition: `--port` used to default to 8080, so passing it straight through would also have overridden a port chosen at setup. Now `START-HERE.bat --port 8888` (or `./setup.sh --port 8888`) uses 8888, and without the flag the install's own port is kept. Released in 0.1.14. Why when I run project with START-HERE.bat --port 8085 or change port in run-iq3_s.bat / strata-iq3_s.json then on start it opens http://127.0.0.1:8085/ with default llama.cpp web interface? And with error "Server unavailable Retry not found". I also can't connect to the server via Open Web UI in that case. How to properly change port?
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
Niko1221/Strata#17
No description provided.