1

Where can I change the standard port for monero core wallet when installing on linux and windows?

  • The port the wallet used to connect to a demon, or the port the wallet RPC server listens to ? – user36303 Nov 6 '17 at 12:20
  • I have a webserver and i want to install monero there and have my desktop connect to it, but I don't want to use a standard port. – Patoshi パトシ Nov 6 '17 at 15:24
  • So I assume this is the daemon port, and you'll be running the daemon on that server. I'll answer on that assumption. – user36303 Nov 6 '17 at 16:18
3

The monerod daemon listens to RPC commands on port 18081 by default (28081 for testnet). Wallets such as monero-wallet-cli will connect to this port by default to interact with the daemon. This default can be changed with the following monero-wallet-cli command line options:

--daemon-address a.b.c.d:N
--daemon-port N

These will will use port N. For instance, if yo're running your webserver with a 1.2.3.4 external IP, and want to use port 8080, you'd use:

--daemon-address 1.2.3.4:8080

Note that if you allow your daemon RPC to be reachable from the Internet, you may want to set a user/password, using the --rpc-login username:password option to monerod (optional, since the daemon doesn't know your keys, only the wallet does), and use --restricted-rpc to avoid people doing things like mining on your daemon.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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