The most common reason for the error 28 while publishing your website is that you have an email account set up in your Mail program, either on your computer or mobile device, with the wrong password. This causes the server to block your IP as it thinks you are trying to guess a password. This article will help you trouble shoot your email connection issues.
If you use a VPN such as SurfShark, NordVPN, ExpressVPN, etc... they may cause publishing timeouts. Additionally, if you are using iCloud Private Relay try disabling this in your System Settings temporarily as this acts as a VPN as well.
Login to your client area once your VPN is disabled to make sure that your IP gets unblocked.
Then try publishing your website again.
If you continue to have issues, please follow the steps below.
If you leave your computer idle to allow EverWeb to publish your website and it continually times out and produces an Error 28, the likely reason is that your computer is set to turn off internet connections while idle for a certain amount of time, or your computer is going to sleep and disconnecting from the Internet.
This is sometimes a default setting in your system's energy saving preferences.
To resolve this issue, you must allow internet connections while your computer is idle
macOS
On the latest versions of macOS, this option should not be enabled by default so you should not have any issues.
However, you can go to the Apple menu and select 'System Preferences'. Open the 'Energy Saver' or 'Battery' module and review your settings for Battery and Power Adapter. If your computer is automatically going to sleep, check the option 'Prevent your Mac from automatically sleeping when the display is off' or, adjust the slider for 'Turn display off after:' to the right to allow more time until your computer display is off.
Windows
Go to your Control Panel > Network and Sharing and select Change adapter settings.
Right click on the adapter in use and select 'Properties'. The look for the 'Configure' button and click that. The following window has various tabs, click the 'Power Management tab' and uncheck the option that says "Allow the computer to turn off this device to save power".
Press Apply and then OK.
Now your internet won't be disconnected when your computer is idle. It will be disconnecting if you allow your computer to go into Hibernation so make sure you have turned this off as well in your Control Panel.