The RPC port on testnet should be `16210` https://github.com/elichai/kaspa-miner/blob/main/src/cli.rs#L89