Is there a way to see the IP address of a Loki service node that is on the network?
Asked
Active
Viewed 149 times
1 Answers
0
On any loki node regardless if its a service node or not, you can run the following command:
curl -sX POST http://localhost:22023/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"get_service_nodes"}' -H 'Content-Type: application/json' | grep -B 4 SERVICE_NODE_ID_HERE
Change localhost if your connecting to a remote loki node and change SERVICE NODE ID to the id you are looking for.
Patoshi パトシ
- 4,608
- 4
- 27
- 69