Error code 521
Hello everyone, I am getting this error on my page and don't know why. I have tried disabling the proxy, changing the SSL/TLS mode, using different browsers, but nothing is working. my domain is panel.bestbuild.space
24 Replies
is cloudflare connecting to your origin on the right port? do you have any firewalls that could block the traffic?
it all should be correct. and I don't think any ports would be blocked
whos your hosting provider ?
I am self hosting
on your own computer?
yes
and you have opened ur firewall to outside traffic atleast from cloudflare?
opening your home network to external traffic is generally a bad idea
I did not.
I did not see a firewall section on cloudflare
On your home network you'd need to at least port forward/open ports
these days it might just not be possible if your ISP doesn't let you/you're behind double NAT
What would the ports be?
I would recommend using tunnels if it's just http stuff: https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/get-started/create-remote-tunnel/
They work great, and no need to poke holes in your firewall
Create a remotely-managed tunnel (dashboard) · Cloudflare Zero Trus...
Follow this step-by-step guide to get your first tunnel up and running using Zero Trust.
usually 80/443 unless you picked others
I have 80 and 443 opened on my router
and I want to use https not http
that's fine, you don't need 80 then, would just need to make sure under SSL/TLS -> Edge Certs you have Always Use HTTPs enabled
opening them in your firewall is diferent then port forwarding them
port forwarding looks like this, you tell it which incoming port should go to which local ip
consumer ips tend to change too are you sure you can connect to your site without the domain?
I can't connect with just the IP
how did you get the ip ?
here is my router.
I searched what is my IP
i dont think source ip should be the internal ip
so just remove Source IP?
Now my sire does this
I didn't do anything
Now its fixed.