MacOS – Cannot connect to software update server

macossoftware-update

By some reason I cannot connect to the software update server. I'm receiving the following message when I try to fetch the updates:

enter image description here

Can you suggest how I can switch to the native Apple update server? I used to be assigned to the corporate one before, but it's no longer the case. Any chance to change it without bringing my laptop to the Apple store?
The options suggested here didn't help. I keep receiving the same error.
OS version: macOS Sierra 10.12

Best Answer

Check you're using the correct command - there were a few variants for different OS versions, but this will work for 10.10 onwards, including 10.12 Sierra:

sudo softwareupdate --clear-catalog