It will just print this and wait till a connection is made to the server from the client. This is what I understand. Did you try to connect to the server using the client? If the connection is successful then other messages will be printed to console, or the client is not able to reach the server.
If the client is able to reach the server and then if there are any issues, then the messages in the catch block will be printed. Can you post what messages you are exactly seeing on the screen?
Oct 18th, 2013
Did you know? You can earn $20 for every friend you invite to Studypool!