[GH-ISSUE #889] Exposing multiple ports for SSL & non-SSL #633

Closed
opened 2026-03-03 02:01:32 +03:00 by kerem · 1 comment
Owner

Originally created by @j-mikhail on GitHub (Mar 3, 2020).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/889

Hello, I have been able to enable HTTPS without issue, though I notice bitwarden_rs will no longer accept HTTP connections on the same port afterwards, which makes sense.

Is there way to expose a second port so that you can accept HTTP and HTTPS connections on the same server? Thanks!

Originally created by @j-mikhail on GitHub (Mar 3, 2020). Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/889 Hello, I have been able to enable HTTPS without issue, though I notice bitwarden_rs will no longer accept HTTP connections on the same port afterwards, which makes sense. Is there way to expose a second port so that you can accept HTTP and HTTPS connections on the same server? Thanks!
kerem 2026-03-03 02:01:32 +03:00
Author
Owner

@dani-garcia commented on GitHub (Mar 3, 2020):

The Rocket web server we use doesn't allow exposing more than one port, if you need to have multiple ports listening, I'd recommend to use a reverse proxy, there are some basic examples on the wiki, but none specifically about listening on more than one port: https://github.com/dani-garcia/bitwarden_rs/wiki/Proxy-examples

Other than that, if you can use HTTPS, I'd heavily recommend to only use it, especially in such a security sensitive service as a password manager.

<!-- gh-comment-id:594088063 --> @dani-garcia commented on GitHub (Mar 3, 2020): The Rocket web server we use doesn't allow exposing more than one port, if you need to have multiple ports listening, I'd recommend to use a reverse proxy, there are some basic examples on the wiki, but none specifically about listening on more than one port: https://github.com/dani-garcia/bitwarden_rs/wiki/Proxy-examples Other than that, if you can use HTTPS, I'd heavily recommend to only use it, especially in such a security sensitive service as a password manager.
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
starred/vaultwarden#633
No description provided.