0

Is there a way to see the IP address of a Loki service node that is on the network?

jtgrassie
  • 19,601
  • 4
  • 17
  • 54
Patoshi パトシ
  • 4,608
  • 4
  • 27
  • 69

1 Answers1

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