Fixing WordPress error: Publishing failed.

On another wordpressinstallation i manage i began, after an update, to get the following error when i tried to publish a new page:

wordpress publishing failed. you are probably offline.

After some googleing i got the solution: the site address wasnt the one i configured, but apparently another one i configured for testing when i first installed that instance. i have no good idea why it reset, but the update failed and i had to reset it and ran it again. thats maybe the reason.

however….

the solution: after changing the site address to the correct value (the wordpress address was still correct) all worked.