Azure / Azure/azure-cli

Port 'xxxx' is taken with error '[Errno 8] nodename nor servname provided, or not known'. Trying with the next one

Open
#16,964 1 comment 0 reactions 1 assignee Assigned to @jiasli View on GitHub
Account act-identity-squad feature-request
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### **This is autogenerated. Please review and update as needed.**

## Describe the bug

**Command Name**
`az login`

**Errors:**
Received a sequence of error messages saying "Port '8400' is taken with error '[Errno 8] nodename nor servname provided, or not known'. Trying with the next one" for port numbers 8400 through to 8999. Last error message is "Error: can't reserve a port for authentication reply url" and then "Login failed".

## To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

- _Put any pre-requisite steps here..._
- `az login`

## Expected Behavior

## Environment Summary
```
macOS-10.13.6-x86_64-i386-64bit
Python 3.8.7
Installer: HOMEBREW

azure-cli 2.19.1

```
## Additional Context
Azure CLI was installed by using this command: "brew install --verbose --build-from-source --display-times azure-cli".

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.