首页 > 其他分享> > 【无标题】Access control configuration prevents your request from being allowed at this time.
【无标题】Access control configuration prevents your request from being allowed at this time.
作者:互联网
万恶之源
curl http://localhost:6800
解决办法
作者是因为设置了代理,导致无法访问因此只需要
设置跳过代理:
curl --noproxy "*" http://localhost:6800/listprojects.json
或者找到.curlrc文件(mac 在.bash_profile),添加:
no_proxy='localhost,127.0.0.1'
除此之外,可能是DNS没有设置好,可以尝试添加几个dns。
题外:
谁知道 scrapyd API 怎么跳过代理,请留言
scrapyd = ScrapydAPI(‘http://127.0.0.1:6800’)
标签:control,127.0,http,being,6800,0.1,无标题,curl,localhost 来源: https://blog.csdn.net/qq_45688439/article/details/122414652