check the server if exists