Custom server ports - global override

I’m using custom ports because I’ve found my ISP blocks 80 and 443.

It’s working without issue as I’ve configured the custom ports in ./bwdata/config.yml.

In the Help guide on the Bitwarden website under Advanced configuration, section on “custom server ports” it says:

" Check that the custom port values have been proliferated to ./bwdata/env/global.override.env"

I can confirm there is nothing in the global override file about my custom ports.

I’m asking if this makes a difference because every confirmation email I get including the one to log into the Admin page has to be altered to contain my custom server port before I can browse to it.

I’m curious if the custom ports were in the global override file if the URL’s would be properly formatted so this would not be necessary.

Thanks in advance.

I added the new https port number to the first line of the ./bwdata/env/global.override.env file like this.
globalSettings__baseServiceUri__vault=https://host.domain.com:10443

going to FQDN:11443/admin redirecting to - FQDN/admin/login?returnUrl=%2Fadmin you have to insert the port to FQDN:10443/admin/login?returnUrl=%2Fadmin to get to the admin login page.

1 Like

Thanks lukestaylor.

Making this very small change to my ./bwdata/env/global.override.env file did the trick.

Now when I need to log into the admin page I can just click the button and it automatically goes there. I no longer have to edit the link to add the port.