Question

403 Forbidden when making requests to some websites from Droplet

Posted January 6, 2021 576 views
IPv6DigitalOcean Droplets

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.

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.

×
Submit an Answer
1 answer

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