Question

403 Forbidden when making requests to some websites from Droplet

I’m trying to make a request to a website from my service that runs on a droplet and for some reason the website’s cloudflare prevents me from making the request. After some investigation, I also realized that hitting another endpoint results in a 403 forbidden. I started testing other websites just to make sure that there wasn’t anything wrong with the website I was trying to make requests to. I found that https://www.makeuseof.com/ was also returning a 403 from the droplet. I’ve tried making requests locally, and from a VM (provided by a competing cloud provider) and it works fine.

TIA.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @beepBeepImaJeep,

Can you confirm how are you doing the requests? What curl or wget commands are you using or is it something else entierly? I’m asking as I want to try and re-create the issue on my end.

Additionally, make sure you’ve allowed outgoing connections on the ports you are trying to use!

Regards, KFSys