server – SSH Binding error after rtcwake wake up

I used crontab to create an rtcwake command.

I added 1 0 * * * sudo rtcwake -u -m disk -s 43200 into crontab using sudo crontab -e

After wake up, the ssh service is down due to Binding error on port.

with sudo service ssh restart I I manually restarted the process successfully.

How can I resolve this problem?

Thanks

p.s I use ubuntu 18.04