ReplicationService should use port from the resolver