"Web Server Down" Cloudflare error with API and Nginx Proxy Manager in Docker

Hi, I've been at this problem for around 2 hours now. I just want to successfully connect to my API via the domain I have registered. Nginx Proxy Manager can successfully make a request to an API endpoint from within the docker container (http://api:3000), but when I try to connect from outside the container with the domain (https://domain.com/), it does not work. Connecting outside the container using http://localhost:3000 works. If I try making the request with https://public-ip/, I am met with a forbidden error with this message (has to do with Nginx, I think): "Rejected request from RFC1918 IP to public server address" What am I doing wrong?
1 Reply
Swyftey
SwyfteyOP3mo ago
Port forwarding did the trick. Forgot I had to do.

Did you find this page helpful?