Unix sockets instead of ports

Hello,

it would be great if one could bind to a unix socket instead of address:port.
So for example to: /opt/bitwarden_rs/socket instead of 127.0.0.1:8080

Thank you

There is an open issue on the HTTP server we use, and also an old pull request:


Until those are solved thereā€™s not much we can do.

1 Like

If you really want sockets you could try if socat works for you.

1 Like

Thank you. Itā€™s more of a ā€œI want to avoid portsā€ than a ā€œI want to have socketsā€, so there wouldnā€™t be anything achieved if I go with socat (but this you couldnā€™t know, so thank you very much anyway!)

No hard feelings towards the bitwarden_rs project, but Iā€™m going just for somethings else. I could be wrong, but I donā€™t think rocket will have the issue solved anytime soon (which is no complain, since Iā€™m just using things without contributing anything).

Iā€™m only mentioning it, because it seems that I probably was alone with that request (within bitwarden_rs). So if no one else needs this feature, you can just close the request. Thanks anyway!

One question @bitwarden_rs_User : what is the reason for your wish? Maybe there is an alternative?

I am packaging bitwarden_rs for Syncloud project (open source self-hosting platform) where we have multiple apps for one user on a single device which may lead to port conflicts.
We use snap so there is no tcp isolation like in Docker for example.

Rocket issue is still open :frowning:

@bitwarden_rs_User there are two of us now! :slight_smile: