check server is accessible. and some comments.