Problems with WSUS on Server 2016

Yesterday I have had an issue with computers not reporting to a newly installed WSUS server. However targeting worked (computers where placed in the right Computer folders in WSUS), computers wouldn’t report.  When I looked into the ReportingEvents log in C:\windows\SoftwareDistribution folder, it showed a error “Windows Update Client failed to detect with error 0x8024401c”. However this error wasn’t consistent (sometimes it did …