Rename the api port to rpcPort