Hello everyone,
I am trying to set up a self-hosted NetBird instance on an Ubuntu Server using the official quick-start script: curl -fsSL https://github.com/netbirdio/netbird/releases/latest/download/getting-started.sh | bash
The Problem: I am forced to use port 8080 instead of the default 80/443 because those ports are already occupied by other applications on my server. During the setup (choosing option 2), I configured the domain and adjusted the ports to 8080.
However, when I try to access the dashboard via my domain, I get an “Oops, something went wrong - Error: Unauthenticated” message.
Technical Details: Looking at the browser console, I see multiple CORS policy errors. Specifically:
Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.- Failed to fetch errors for
/api/instanceand OpenID configuration endpoints on port 8080.
It seems like the frontend is attempting to communicate with the API, but the CORS headers are missing or the redirection URLs are not correctly updated to reflect the port 8080 change in the OIDC configuration.
Screenshots: (Buraya yüklediğin ikinci görseli, yani konsol hatalarının olduğu görseli ekle)
Has anyone successfully deployed NetBird on a non-standard port? Are there extra manual steps needed in the setup.env or JSON configuration files to fix the CORS headers and authentication flow?
Thanks in advance for the help!