expose both P2P and RPC ports