У меня ниже эта ошибка.
ConnectionError at /admin/pages/search/
ConnectionError(<urllib3.connection.HTTPConnection object at 0x7fe1fa4c62d0>: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7fe1fa4c62d0>: Failed to establish a new connection: [Errno 111] Connection refused)
Request Method: GET
Request URL: http://localhost:8000/admin/pages/search/?q=news
Django Version: 3.0.7
Exception Type: ConnectionError
Exception Value:
ConnectionError(<urllib3.connection.HTTPConnection object at 0x7fe1fa4c62d0>: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7fe1fa4c62d0>: Failed to establish a new connection: [Errno 111] Connection refused)
Exception Location: /usr/local/lib/python3.7/site-packages/elasticsearch/connection/http_urllib3.py in perform_request, line 241
Python Executable: /usr/local/bin/python
Python Version: 3.7.7
Python Path:
['/code',
'/usr/local/bin',
'/usr/local/lib/python37.zip',
'/usr/local/lib/python3.7',
'/usr/local/lib/python3.7/lib-dynload',
'/usr/local/lib/python3.7/site-packages']
Server time: Thu, 18 Jun 2020 14:39:28 +0000