Change network and RPC ports