Report this

What is the reason for this report?

I can't reach to my website from my country IP

Posted on January 28, 2021

I deploy my django app with nginx, gunicorn at droplet. So, I could access my site via website IP. Afterward I have integrated domain and SSL to my website. It worked without any problem at server side. But the problem is I can’t access to my website from my country IP. I can only connect with VPN. I have comminucated with domain services and they said me that problem doesn’t relative to us. So how can I fix this troubleshoot? My country is Azerbaijan.

Note: I didn’t anything about blocking IP process at my django app



This textbox defaults to using Markdown to format your 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 @cvmds,

Try allowing your IP directly on your droplet via IPtables. The following command needs to be executed on your droplet via SSH or using the DigitalOcean’s web console:

iptables -A INPUT -s 192.168.0.1 -j ACCEPT

Remember to change the IP 192.168.0.1 with your OWN. Once you’ve executed this command, do

tail -f /var/log/secure

and try to open your website again, see if anything will be logged in this log or if you’ll be able to access the website. If you again can’t access it, I’ll suggest doing a traceroute from your laptop to your droplet;

traceroute IPofYourDroplet

Then submit a ticket with DigitalOcean’s support and provide them the output of the traceroute. THey should be able to check if your IP has been blocked somewhere on DigitalOcean’s firewalls.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.