0

当我尝试使用 az (az login) 登录时,它在 ubuntu 中出现 beloe 错误。有什么可能的解决方案?

错误:

Port '8400' is taken with error '[Errno 99] Cannot assign requested address'. Trying with the next one  
Port '8401' is taken with error '[Errno 99] Cannot assign requested address'. Trying with the next one
Port '8402' is taken with error '[Errno 99] Cannot assign requested address'. Trying with the next one
Port '8403' is taken with error '[Errno 99] Cannot assign requested address'. Trying with the next one
.
.
Port '8998' is taken with error '[Errno 99] Cannot assign requested address'. Trying with the next one
Port '8999' is taken with error '[Errno 99] Cannot assign requested address'. Trying with the next one
Error: can't reserve a port for authentication reply url
Login failed
4

1 回答 1

0

如果您在 linux 上,请检查 /etc/hosts 文件。添加条目为 , 127.0.0.1 localhost

并重试。它应该可以解决问题。

于 2021-08-31T12:19:01.253 回答