jhao104 / jhao104/proxy_pool

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

Open
#402 6 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
Python
Stars
23.7k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

是一个小白,他提示了
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.
一直在报错。请问怎么解决 谢谢

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.