Then, run the Server.java form Server project and then run the Main.java from Main package of Client project.