memgraph / pymgclient

Python Memgraph Client
https://memgraph.github.io/pymgclient/
Apache License 2.0
43 stars 5 forks source link

Connection to host #36

Closed FroimT closed 2 years ago

FroimT commented 2 years ago

Hi, I am trying to connect to the host as in the given example. However, I get the error below. Could it be that the firewall is blocking it? Which programs need to be allowed to pass?

OperationalError Traceback (most recent call last) Input In [10], in <cell line: 1>() ----> 1 conn = mgclient.connect(host='127.0.0.1', port=7687)

OperationalError: couldn't connect to host: Connection refused.

g-despot commented 2 years ago

Did you make sure that Memgraph is up and running before trying to create the connection? Also, did you try checking the log files in Memgraph? Here is a guide on where you can find them.

FroimT commented 2 years ago

Ok, thanks. I thought memegraph would be launched when I do the gqlalechmy import.