The problem is, after changing the port, I cannot alter the way NextCloud tries to setup notify_push (it adresses to localhost, without ports). Nevertheless, I have edited the notify_push.service, by setting nextcloud_url to the correct one. Do you know how to change the nextcloud_url internally?
I have reviewed that solution, I cleared the cache yet it doesnt seem to suit for me.