I'm want to run monerod only on my LAN. I don't want it communicate with the official blockchain. I followed this answer except that I replaced the localhost IP with my IP:

./monerod --stagenet --no-igd --hide-my-port --data-dir node1 \
  --p2p-bind-ip --p2p-bind-port 48080 --rpc-bind-port 48081 \
  --zmq-rpc-bind-port 48082 --add-exclusive-node

./monerod --stagenet --no-igd --hide-my-port --data-dir node2 --p2p-bind-ip \ --rpc-bind-ip --confirm-external-bind \

When I run monero-wallet-cli from a difference machine, I get this error:

monero-wallet-cli.exe --stagenet --daemon-address --log-level 0 \
--wallet-file test
Warning: using an untrusted daemon at, privacy will be lessened
Error: wallet failed to connect to daemon: Daemon either is not started or wrong port was passed. Please make sure daemon is running or change the daemon address using the 'set_daemon' command.

If I pass --trusted-daemon I don't get the warning, but I still get the error.

I am able to connect to if I run a webserver on it.

1 Answer 1


As you have started the nodes (monerod) with --stagenet, you also need to start the wallet (monero-wallet-cli) with --stagenet.

UPDATE (question edited)

It looks like both your nodes are on the same machine ( so just run them like:

./monerod --stagenet --no-igd --hide-my-port --data-dir node1 \
  --p2p-bind-ip --p2p-bind-port 48080 \
  --add-exclusive-node \
  --rpc-bind-ip --rpc-bind-port 48081 --confirm-external-bind

./monerod --stagenet --no-igd --hide-my-port --data-dir node2 \
  --p2p-bind-ip  --p2p-bind-port 38080 \

Then on you wallet machine:

monero-wallet-cli.exe --stagenet --daemon-address \
  --log-level 0 --wallet-file test
  • I can't believe I forgot that! I still get the same behavior, though. Updated question.
    – user8982
    Commented Dec 2, 2018 at 2:46
  • You are trying to connect the wallet to node1 port 48081 but that node is not specifying a rpc bind address.
    – jtgrassie
    Commented Dec 2, 2018 at 4:11
  • To be clear, if you started your nodes exactly like in the linked question and just changed the wallet line to monero-wallet-cli --stagenet --daemon-host it would have worked also.
    – jtgrassie
    Commented Dec 2, 2018 at 4:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.