I just upgraded my site from 4.7.4 (and a working Cron job) to 5.1, and I now get this error when Cron runs. My hosting provider says this is beyond their scope of help.

500 Can't connect to myexample.com:80 (Bad hostname 'myexample.com')