trying to connect with end server