Update ports for communication and rpc