Run the Server class first, then run the Client class.
*To allow for multiple clients; *click on "Edit Configurations", *click on "Modify options" *select "Allow multiple instances", *click on "Apply" and the "Ok".
*run Client class again to add multiple clients.