1. Whether the port number opened by the computer is disabled, and see if the communication service between the computer and the attendance machine runs normally.
As for the communication service between computer and attendance machine, the best solution is to restart this service and try to connect.
3. Restart the attendance machine and connect.