在idea使用GitHub账号、Copilot异常

登录GitHub显示这样的信息:


Invalid authentication data.Connection refused: connect

Failed to initiate the GitHub login process. Please try again.

修改hosts(C:\Windows\System32\drivers\etc\hosts),添加以下参数即可。ipaddress.com可以最新查询地址

140.82.114.3 github.com

199.232.69.194 github.global.ssl.fastly.net

140.82.114.5 api.github.com

猜你喜欢

转载自blog.csdn.net/m0_64880608/article/details/132267967