jhao104/proxy_pool

用docker启动提示了这个错误请问是为什么?

オープン

#402 opened on 2019/12/10

 (6 件のコメント) (0 件のリアクション) (0 人の担当者)Python (5,410 件のフォーク)batch import
help wanted

Repository metrics

Stars
 (23,626 個のスター)
PR merge metrics
 (PR metrics pending)

説明

是一个小白,他提示了 for _proxy in pm.db.getAll(): File "../DB/DbClient.py", line 102, in getAll return self.client.getAll() File "/usr/src/app/DB/RedisClient.py", line 107, in getAll item_dict = self.__conn.hgetall(self.name) File "/usr/local/lib/python3.6/site-packages/redis/client.py", line 2717, in hgetall return self.execute_command('HGETALL', name) File "/usr/local/lib/python3.6/site-packages/redis/client.py", line 836, in execute_command conn = self.connection or pool.get_connection(command_name, **options) File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 1224, in get_connection connection.connect() File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 544, in connect raise ConnectionError(self._error_message(e)) redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:6379. Connection refused. 一直在报错。请问怎么解决 谢谢

コントリビューターガイド