Forbidden You don't have permission to access this resource

Hi everyone. New to this and all.

Im having issues getting nextcloud up and running.

Hardware: Raspberry Pi4 4GB

Tried 2 variants. Used ncp directly. Everything worked on the pi. Connected via ssh no problem. Once the install was finished I tried accessing nextloud to set it up via “ip”:4443 and it comes back: “This site can’t be reached.” Tried accessing the ip directly and I get: “Forbidden You don’t have permission to access this resource.”

Second attempt: Installed buster first and then downloaded and installed nextcloud with same result. During this second attempt I tried accessing the nextcloud via the ip of the pi before the install was finished. The nextcloud start-up screen came up and it looked like it was working. But after the install was finished the same thing as during the first attempt happened.

I’ve searched and haven’t been able to solve this problem.

Any help would be appreciated.