displaying the server reply when connection is rejected