Specify port number for wandb login

Can I provide a port number when running wandb.login()? I would like to specify a port that is not blocked by my firewall.



Hey @luop0812 - are you running wandb locally? If so, you can specify a port to bind W&B server via a command like:

wandb server start --port 1234

Documentation can be found here.

We also have an optional environment variable WANDB_BASE_URL where you can set the port here as well.

Hi @luop0812, since we have not heard back from you we are going to close this request. Please let us know if the above helped!

Hi @uma-wandb, I am not sure. All I need to do is to make this test code working:

python -c “import wandb; wandb.login()”

What’s the base_url when you run wandb status in your terminal?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.