My monero node is fully synced. I'm using Ubuntu. In my monero config file I added:
Rpc-bind-ip=127.0.0.1
Rpc-bind-port=18081
Rpc-login=myusername:my password
Then I started monero with ./monerod
.
On another terminal I started:
./monero-wallet-rpc --rpc-bind-port 18084 --wallet-file "wallet name " --password "my password" --daemon-address 127.0.0.1 --rpc-bind-ip 127.0.0.1 --rpc-login username: password
(with password from monero conf)
It gives me errors like
E client has incorrect username/password for server requiring authentication
E throw exception:tools:error: no connection to Daemon