Head's Up! Site migration is underway. Expect disruption to service on Thursday, Feb. 9!
β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/
β07-12-2022 07:33 PM
Thank you @michael_hunger !
All the sessions of the conference are now available online