Hello,
On trying to use the new serve --hostname option I get an error:
As far as I understood from the official bitwarden documentation, I should be able to use any hostname with the --hostname option
But it seems like it does not work that way or am I doing something wrong ?
Can someone please advise ?
That error is telling you that your computer can’t find the IP address of the server you have identified with the hostname you have provided.
Bitwarden will accept any valid hostname, but it has to accurately resolve to the machine you are accessing. Do you have a registered hostname that can be resolved to an IP address with your DNS provider?
I don’t have a valid hostname yet, what if I use vault.bitwarden.com as an example?
if not, what should I do in order to use the --hostname option ?
Could you please advise ?
You can just use localhost if you are not connecting to a named host. I can’t remember off the top of my head, but that may be the default anyways, so it may just use your local machine if you entirely omit that option. Cheers.