Access denied using cURL from Droplet
So I’m trying to cURL a website from a Droplet, but I’m getting this error:
<HTML><HEAD> <TITLE>Access Denied</TITLE> </HEAD><BODY> <H1>Access Denied</H1> You don't have permission to access "http://www.kroger.com/" on this server.<P> Reference #18.3f9a18b8.1616192985.122eaf1 </BODY> </HTML>
I tried this on my local machine and it works just fine. I also tried to run this on a fresh Droplet, but I’m receiving the same error message. Are websites just blocking Digital Ocean Droplet connections? If not, what can I do to fix this?
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.×