The invention provides a communication self-detection method and system, an intelligent cabinet, a communication detection method and system, and a server. The communication self-detection method andsystem are applied to the intelligent cabinet comprising a communication module, and the communication detection method and system are applied to the server that is cooperatively used with the intelligent cabinet. The communication self-detection method comprises the following steps: S102, judging whether a heartbeat signal periodically sent by the server is received according to a heartbeat protocol, and if yes, skipping to S104; if not, skipping to S108; S104, starting a new round of timing; S106, feeding back the heartbeat signal to the server; S108, maintaining the current timing, and obtaining a waiting time; S110, judging whether the waiting time reaches a first preset time, and if yes, skipping to S112; and S112, restarting the communication module. By adoption of the communicationself-detection method provided by the invention, the communication stability of the system under long-term operation is ensured, the operation and maintenance costs are reduced, and the operation state of the intelligent cabinet can be monitored in real time.