diff --git a/dotfiles/.local/bin/commands b/dotfiles/.local/bin/commands
index 7c5dc9f..fa13b39 100755
--- a/dotfiles/.local/bin/commands
+++ b/dotfiles/.local/bin/commands
@@ -482,7 +482,7 @@ def http_server(argv):
         token = os.urandom(16).hex()
         print(
             'access url is http://%s:%d/%s/' % (
-                socket.gethostname(),
+                options.host,
                 options.port,
                 token,
             )