If it is not explicitly told in following recipe, setting up services are described for Ubuntu 20.04 server, but applications are described for Xubuntu 20.04 workstation. If you use different Ubuntu version or Linux distribution, settings as well as content, names and places of configuration files may be different! Got it.
If necessary, change value of static final int port = 7700 variable in ChatServer.java class and value of port key in src/resources/appplication.properties configuration file to different number e.g. 7701
Implement class ChatServer to pass unit tests
Server could be checked using nc program, e.g. following:
nc 127.0.1.1 7700
To check if server is listening on necessary port, run command:
netstat -antp|grep 7700
If necessary, server can be killed with command:
kill -9 pid
where pid is process id from the previous command
Implement chat client
Investigate package jtm.extra14
If necessary, change value of static final int port = 7700 variable in ChatClient.java class and value of port key in src/resources/appplication.properties configuration file to different number e.g. 7701