Where can I change the standard port for monero core wallet when installing on linux and windows?
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:
These will will use port N. For instance, if yo're running your webserver with a 220.127.116.11 external IP, and want to use port 8080, you'd use:
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.