claude-code地区不支持
·
Unable to connect to Anthropic services Failed to connect to api.anthropic.com: ERR_BAD_REQUEST Please check your internet connection and network settings. Note: Claude Code might not be available in your country. Check supported countries at https://anthropic.com/supported-countries
一般是未走代理,直接拦截
看是哪种方式打开claude-code
本地命令行打开,针对cmd需要走代理,设置系统环境变量
setx HTTP_PROXY http://127.0.0.1:7890
setx HTTPS_PROXY http://127.0.0.1:7890
端口号看自己走的代理端口
重开终端再运行 Claude Code
更多推荐


所有评论(0)