Open folder as IntelliJ project Run the Server and Client Applications: Run the Server first: Go to the SocketServer class and run the code. Go to Run → Edit Configurations… Click the + (top-left) → ...