Server is working and connecting to the master and the master connecting to the slave