Use neo4j with py2neo

When I use neo4j with py2neo, I get the following error:

MaxRetryError: HTTPConnectionPool(host=' localhost', port=7474): Max retries exceeded with url: /db/data/transaction/commit (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000022A1CD8ED08>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))

How to solve this problem?Thank you very much!

The problem is solved.Thank you!

Hi can you please tell how you solved the problem!!!

I have the same problem now... So how do you solved this problem?