TransWikia.com

How to check whether monero-wallet-rpc is running?

Monero Asked by Guga Todua on August 24, 2021

I installed monero-wallet-gui on mac. I can’t run curl commands to Wallet RPC because it needs digest authentication. How do I check if monero-wallet-rpc is running so I can configure it(input my user/password).

2 Answers

If you know the port monero-wallet-rpc listens on, you can connect to that port to see whether something is listening. This is what the python RPC layer does.

From utils/python-rpc/console.py in the Monero tree:

  # check for open port
  s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
  s.settimeout(1)
  if s.connect_ex((host, port)) != 0:
    raise Exception('No wallet or daemon RPC on port ' + str(port))
  s.close()

Answered by user36303 on August 24, 2021

You could run ps aux | grep monero-wallet-rpc to see if the process is running.

Answered by alexg on August 24, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP