Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
07-11-2022 11:34 PM
Hi Experts,
I am looking for a cypher, apoc or any method to get the hostname to which the current session is talking to.
For example, when I am connecting to a set of node configured in a causal cluster from a python client, I want to know which neo4j node is serving the read or write by retrieving hostname. Is there a way to do this?
Any guidance, comment, input would be appriciated.
Thank you!
Solved! Go to Solution.
07-12-2022 06:11 AM
I think you can use dbms.listConnections() or SHOW CONNECTIONS that has a clientAddrewss and serverAddress field.
https://neo4j.com/docs/operations-manual/current/monitoring/connection-management/
07-12-2022 06:11 AM
I think you can use dbms.listConnections() or SHOW CONNECTIONS that has a clientAddrewss and serverAddress field.
https://neo4j.com/docs/operations-manual/current/monitoring/connection-management/
All the sessions of the conference are now available online