Trying to fix error code 522

trying to fix error code 522 however every solution ive found online isnt working ive even opened the correct port “9000” for portainer on both my router and server basicly im trying to setup nextcloud through this tutorial
[Preformatted text](https://www.youtube.com/watch?v=fCJbw75DCZw&t=300s)

Cloudflare will only proxy these ports…

https://developers.cloudflare.com/fundamentals/reference/network-ports/

You will need to set your router to translate from one of these ports to port 9000 internally.

3 Likes

how do i do that also the guy in the tutorial did it fine without doing it internaly

That video didn’t show the inbound connection port, but the URL was https with no port listed, so it was 443. It looks like his local configuration would route Port 443 requests to Port 9xxx.

You can do the same with Origin Rules:

1 Like