Please login or register.

SimpleWallet RPC not listening on any port

I'm launching the simplewallet daemon with:

monero@server:~/monero$ /home/monero/simplewallet --rpc-bind-ip=0.0.0.0 --rpc-bind-port 18082 --password [password] --wallet-file [pathToWallet].bin --daemon-address=127.0.0.1:18081
Creating the logger system
Monero 'Hydrogen Helix' (v0.9.1.0-release)
Logging at log level 0 to /home/monero/simplewallet.log
2016-Feb-29 14:13:41.132865 Loading wallet...
2016-Feb-29 14:13:41.165504 Unknown refresh-type value (32767), using default
2016-Feb-29 14:13:41.165818 Loaded wallet keys file, with public address: [....]

But it's not listening on the specified port (18082), I also tried with other ports but no luck.

root@server:~# netstat -nat | grep 18082
root@server:~#
Replies: 4
bigreddmachine posted 8 years ago Weight: 0 | Link [ - ]

Here's the command I use:

simplewallet --wallet-file [path to wallet] --password [password] --rpc-bind-ip 127.0.0.1 --rpc-bind-port 18082

This looks basically the same as you, only w/ 127.0.0.1 instead of 0.0.0.0, but I think either should be okay. The main differences are

  1. I don't include "--daemon-address" since I am using the default (as are you, so you could probably eliminate it too) and

  2. I have a "space" between --rpc-bind-ip and the address, where as you have an equals.

Does tweaking either of those change things?

got3nks posted 8 years ago Replies: 1 | Weight: 0 | Link [ - ]

Apparently I only had to wait few hours for the wallet to sync. SimpleWallet is now listening on the specified port.

Reply to: got3nks
bigreddmachine posted 8 years ago Replies: 1 | Weight: 0 | Link [ - ]

To clarify, you had to wait for simplewallet to sync or the daemon? I can see bitmonerod requiring a few hours, but not simplewallet...

Reply to: bigreddmachine got3nks
got3nks edited 8 years ago Weight: 0 | Link [ - ]

SimpleWallet. I don't know how long it actually took, but after a few hours it started listening on the specified port.

Edit: Attaching log, looks like it took around 1h30m

2016-Feb-29 15:25:53.836768 Loaded wallet keys file, with public address: [....]
2016-Feb-29 17:08:00.210981 Loaded ok