Fixed the error that the client cannot join the server