set the ring port and nrepl prot