default rocket address doesn't match .env.template comment #1824

Closed
opened 2026-04-06 02:27:13 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @dionysius on 12/31/2022

Subject of the issue

I assumed the comments in .env.template mean default values (where clearly interpretable as such). But at least for ROCKET_ADDRESS this seems to be incorrect. The file states:

# ROCKET_ADDRESS=0.0.0.0

The actual listen address:

root@vaultwarden:~# netstat -tulpen
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
tcp        0      0 127.0.0.1:8000          0.0.0.0:*               LISTEN      113        52998745   70470/vaultwarden

After setting the option explicitly it listens as expected. Either .env.template is wrong or the rocket default listen is wrong.

Deployment environment

  • vaultwarden version: 1.27.0
  • Install method: built from source

  • Clients used: none

  • Reverse proxy and version: none

Steps to reproduce

  • Don't set ROCKET_ADDRESS
  • Start vaultwarden
  • Check listen address

Expected behaviour

Listening on 0.0.0.0

Actual behaviour

Listening on 127.0.0.1

*Originally created by @dionysius on 12/31/2022* <!-- # ### NOTE: Please update to the latest version of vaultwarden before reporting an issue! This saves you and us a lot of time and troubleshooting. See: * https://github.com/dani-garcia/vaultwarden/issues/1180 * https://github.com/dani-garcia/vaultwarden/wiki/Updating-the-vaultwarden-image # ### --> <!-- Please fill out the following template to make solving your problem easier and faster for us. This is only a guideline. If you think that parts are unnecessary for your issue, feel free to remove them. Remember to hide/redact personal or confidential information, such as passwords, IP addresses, and DNS names as appropriate. --> ### Subject of the issue I assumed the comments in [.env.template](https://github.com/dani-garcia/vaultwarden/blob/main/.env.template) mean default values (where clearly interpretable as such). But at least for `ROCKET_ADDRESS` this seems to be incorrect. The file states: > &#35; ROCKET_ADDRESS=0.0.0.0 The actual listen address: ``` root@vaultwarden:~# netstat -tulpen Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp 0 0 127.0.0.1:8000 0.0.0.0:* LISTEN 113 52998745 70470/vaultwarden ``` After setting the option explicitly it listens as expected. Either `.env.template` is wrong or the rocket default listen is wrong. ### Deployment environment <!-- ========================================================================================= Preferably, use the `Generate Support String` button on the admin page's Diagnostics tab. That will auto-generate most of the info requested in this section. ========================================================================================= --> <!-- The version number, obtained from the logs (at startup) or the admin diagnostics page --> <!-- This is NOT the version number shown on the web vault, which is versioned separately from vaultwarden --> <!-- Remember to check if your issue exists on the latest version first! --> * vaultwarden version: 1.27.0 <!-- How the server was installed: Docker image, OS package, built from source, etc. --> * Install method: built from source * Clients used: none * Reverse proxy and version: none ### Steps to reproduce - Don't set `ROCKET_ADDRESS` - Start vaultwarden - Check listen address ### Expected behaviour Listening on `0.0.0.0` ### Actual behaviour Listening on `127.0.0.1`
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#1824