Looks ok
Did you try to connect to your replica set using hostnames in your connect string?