Report this

What is the reason for this report?

I can't access my site but when i using vpn i can

Posted on August 8, 2020

Hi everyone.

Iam using Ubuntu Wordpress 4.8 on 16.04 So I cannot access my site unless I use vpn or use another WiFi network. If I connect from my phone using my data, it works fine.

please help me



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 there @theresiasandi,

I could suggest running a traceroute or mtr from your PC to your Droplet’s IP address to see where exactly the connection drops.

Also I could suggest checking your firewall and making sure that your home IP address is allowed.

Do you get any errors or does the connection just time out?

Regards, Bobby

Hi @theresiasandi,

It’s possible your server has blocked your IP address, the one that you use when using your Wifi network.

What you can do is get your IP once you are connected to the Wifi network by accessing the website https://ip.me.uk . This website will give you your IP address.

Once you have it, SSH to your droplet

ssh root@XXX.XXX.XXX.XXX

Where XXX.XXX.XXX.XXX is your actual droplet IP address or use the console in your DigitalOcean Control Panel.

In there you’ll need to allow the Ip you took for the website above like so

iptables -A INPUT -s XXX.XXX.XXX.XXX -j ACCEPT

Please remember XXX.XXX.XXX.XXX is your IP now.

Regards, KFSys

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.