Remote access with only specific ports available

Hello

Running on a raspberry pi 4 running raspbian

I have my nextcloud server setup, but i cannot access it remotely.
I suspect this is because of my limited port access
Only 5 ports are available to me
Let’s call them port: 0, 1, 2, 3, 4
These are not the actual ports, but none of the actual ports line up with what nextcloud uses.
Currently i have port forwarding
external port 0 - > internal port 80
external port 1 → internal port 443

I do not have a domain as I didn’t think it is required, but i’m not sure
my hostname file only contains:

hosts has an entry
127.0.1.1

apache2 virtualhost port is set to 80

I should also say that i do have ssh access remotely to the pi via port 5
external port 5 → internal port 22

Thank you

Hi @WiredG,
You are missing the required support template. Please fill this form out and edit into your post.

If you are on nextcloudpi paste the output of nc-info

If using Letsencrypt for SSL you must have ports 80 and 443 open on your router. That is how it renews and validates certificates.

Port 0 and 1 will not work.