Trouble setting replication over TCP