You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
can't connect to my remote sd-server instance since api key support was added #2481
I have been using sd-server for a while as an LAN endpoint, either with the web interface or via Atomic Chat
Before I would just set the listen address to 0.0.0.0 and I could connect via the lan address hostname.local:6768 but since the api-key support was added I now get
{"error":"Request origin is not allowed"}
and nothing seems to connect, my command line has not changed
Thanks for reporting this. The 403 comes from a hostname check we added in #2423 to protect against DNS rebinding. That check runs even when no API key is configured. --listen-ip 0.0.0.0 still lets the server listen on your LAN.
To keep using hostname.local from the Web UI or Atomic Chat, add this to your existing command, using the hostname and port you actually connect to:
You can also connect directly to the server’s LAN IP on port 6768. If you still get a 403 after adding it, please comment here and we can reopen the issue.
Adding the hostname of the machine it is running on (clanker.local:6768) I can now connect to it from my desktop machine on the same lan (electronicbox.local) so that seems to have fixed both WebUI and Atomic Chat, thanks
Activity
leejet commentedon Dec 1, 2026
Thanks for reporting this. The 403 comes from a hostname check we added in #2423 to protect against DNS rebinding. That check runs even when no API key is configured. --listen-ip 0.0.0.0 still lets the server listen on your LAN.
To keep using hostname.local from the Web UI or Atomic Chat, add this to your existing command, using the hostname and port you actually connect to:
--cors-origins http://hostname.local:6768
You can also connect directly to the server’s LAN IP on port 6768. If you still get a 403 after adding it, please comment here and we can reopen the issue.
lemonzest79 commentedon Dec 1, 2026
Adding the hostname of the machine it is running on (clanker.local:6768) I can now connect to it from my desktop machine on the same lan (electronicbox.local) so that seems to have fixed both WebUI and Atomic Chat, thanks