Error when creating bitwarden-nginx on start

Hi,
I’m trying to install Bitwarden on my server but when I entered the command ./bitwarden.sh start,
I got the following error :

Creating bitwarden-admin … done
Creating bitwarden-nginx …
Creating bitwarden-nginx … error

ERROR: for bitwarden-nginx Cannot start service nginx: driver failed programming external connectivity on endpoint bitwarden-nginx (b2fc16f98e81b9233db0e07a33a2a3df87c276f
da5cf58b2dde079418ebdd677): Error starting userland proxy: listen tcp 0.0.0.0:443: bind: address already in use

ERROR: for nginx Cannot start service nginx: driver failed programming external connectivity on endpoint bitwarden-nginx (b2fc16f98e81b9233db0e07a33a2a3df87c276fda5cf58b2d
de079418ebdd677): Error starting userland proxy: listen tcp 0.0.0.0:443: bind: address already in use
ERROR: Encountered errors while bringing up the project.

What should I do?

@Zerouk did you ever get this solved. i have the same issue. I know i’m using those ports, I just need to modify the ports.

Nevermind, I was able to get around it.

I did a setup with Let’s Encrypt = N

when I got to selection of self-generated SSL I said “Y”

change the config.yml in the bwdata to my respective ports:

http_port: ####
https_port: ####

Then did a ./bitwarden rebuild

Then a ./bitwarden start

Then I was able to do https://ip_address:#####

If you are using Nginx Proxy Manager, you should now be able to use it accordingly to issue your SSL that way.

Hope that was helpful.