You can customize the port number. The default port is 1433 but some organisations have restrictions in using the default one. I would suggest to reach out to your DBA team for a port number.
We are experiencing the same issue on almost daily basis. I'm aware that VMs usually go offline only when Automate.Exe crashes. We have scheduled reboot of our infra every weekend, despite that we see this issue appearing very frequently.
Apprecia...