Helpt needed to change the nextcloud ports 80 and 443

Hello everybody
I am a newbie on Nas storage servers
I have 2 servers at home opemediavault and truenas
I have installed nextcloud on truenas core and everything works fine. I want to install wordpress +mariadb on my other server openmediavault and everyhting works fine at the begining and after a while something from truenas or nextcloud creates an uploads folder on wp-content of wordpress , I think it is from my nextcloud phone aplication and then wordpress is not working at all . the admin panel isnt working. Its seems that mariadb server is not working. Done several installs and unintsalls but the same problem. I think its a conflict with ports! Any help is appreciated