[GH-ISSUE #26] --host 0.0.0.0 #10

Closed
opened 2026-11-04 01:38:58 +07:00 by bsakaguchi · 2 comments
Owner

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

Currently it doesn't work remotely from another computer on the same network due to that from what I found previously in trying

Originally created by @XeonG on GitHub (Sep 27, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/26 Currently it doesn't work remotely from another computer on the same network due to that from what I found previously in trying
Author
Owner

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

Thanks, fixed in v0.1.9. --host 0.0.0.0 did bind, but nothing in the normal flow could set it (the run scripts and setup always started on 127.0.0.1), and the server then printed http://0.0.0.0:8080, which you can't open from another device.

Now:

  • START-HERE.bat --setup --host 0.0.0.0 --api-key <secret>, or add "host": "0.0.0.0" and "api_key": "..." to your strata-<model>.json.
  • The server window prints the address to use from other devices (from other devices: http://192.168.x.x:8080/, API at .../v1).
  • It warns if there's no API key (then anyone on your network can use it).
  • On Windows, the firewall still blocks it until you allow it. Accept the prompt for Python on a private network, or run this in an admin PowerShell (the server prints it too):
    New-NetFirewallRule -DisplayName "Strata 8080" -Direction Inbound -Protocol TCP -LocalPort 8080 -Action Allow -Profile Private

Tested here through the PC's LAN address. I couldn't test from a second machine, so reopen this if it still doesn't connect.

<!-- gh-comment-id:5856979855 --> @Niko1221 commented on GitHub (Sep 27, 2026): Thanks, fixed in v0.1.9. `--host 0.0.0.0` did bind, but nothing in the normal flow could set it (the run scripts and setup always started on 127.0.0.1), and the server then printed `http://0.0.0.0:8080`, which you can't open from another device. Now: - `START-HERE.bat --setup --host 0.0.0.0 --api-key <secret>`, or add `"host": "0.0.0.0"` and `"api_key": "..."` to your `strata-<model>.json`. - The server window prints the address to use from other devices (`from other devices: http://192.168.x.x:8080/`, API at `.../v1`). - It warns if there's no API key (then anyone on your network can use it). - On Windows, the firewall still blocks it until you allow it. Accept the prompt for Python on a private network, or run this in an admin PowerShell (the server prints it too): `New-NetFirewallRule -DisplayName "Strata 8080" -Direction Inbound -Protocol TCP -LocalPort 8080 -Action Allow -Profile Private` Tested here through the PC's LAN address. I couldn't test from a second machine, so reopen this if it still doesn't connect.
Author
Owner

@DmitryFX commented on GitHub (Nov 4, 2026):

Strata simply overwrites my settings in /strata/launch-presets/qwen3-8-flash-next-gsq-rco-iq1_m-128k.json

Added:
"host": "0.0.0.0",
"access": "lan", // tried local
"api_key": "1234"

It removes "host": "0.0.0.0" on the launch->access stage. And the server is still at 127.0.0.1:8080

UPD.

Finally it worked via strata serve --config launch-qwen3-8-flash-next-gsq-rco-iq1_m-128k --host 0.0.0.0 without tui, but ok.

<!-- gh-comment-id:6636289643 --> @DmitryFX commented on GitHub (Nov 4, 2026): Strata simply overwrites my settings in /strata/launch-presets/qwen3-8-flash-next-gsq-rco-iq1_m-128k.json Added: "host": "0.0.0.0", "access": "lan", // tried local "api_key": "1234" It removes "host": "0.0.0.0" on the launch->access stage. And the server is still at 127.0.0.1:8080 UPD. Finally it worked via `strata serve --config launch-qwen3-8-flash-next-gsq-rco-iq1_m-128k --host 0.0.0.0` without tui, but ok.
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#10
No description provided.