小编qwe*_*weq的帖子

将 Azure Web 应用连接到 Azure Redis 缓存

如何将 Azure Redis 缓存连接到使用 celery 执行某些异步任务的 Flask WebApp?每当我尝试通过 Webjob 连接时,都会显示无法连接到 redis。

我也尝试celery inspect ping -b redis://{password}@{redis_service_name}.redis.cache.windows.net:6379/0从这篇文章How to configure celery-redis in django project on microsoft azure? 中输入此内容?但我会得到Connection Failure: If this issue persists, ensure your computer's firewall and proxy settings allow outbound TCP traffic to port 10225. Using the firewall feature on your cache may also block connections from the console if your IP address has not been whitelisted

python azure redis celery flask

2
推荐指数
1
解决办法
5478
查看次数

标签 统计

azure ×1

celery ×1

flask ×1

python ×1

redis ×1