change server direction