Report this

What is the reason for this report?

Wordfence: Why do all users visiting site have the droplet ip.

Posted on March 15, 2016

Hi, I have noticed that in Wordfence every visit to the site is logged with the server ip address and not the real ip address of the visitor.

Any help on why that might be happening. It’s done it since day one.

Thanks Drew



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.

Hey Drew - First thing I would do is check this suggestion from the plugin author:

Can you try playing with the setting on the options page that says “How Wordfence gets IPs”? Select the option that best fits your hosting environment. If you are unsure you can select one after the other, saving in between, and check live traffic for real ip addresses to see which one fixes it. https://wordpress.org/support/topic/all-hits-from-same-ip-after-hosting-upgrade

If that doesn’t work, can you describe how your Wordpress is setup? Is it on a server with Apache or nginx? Are you running Wordpress behind a reverse proxy (where nginx or apache forwards all traffic through to a separate port) - this would cause you to see your own droplet’s IP, but it can be fixed. Do you have a service like cloudflare setup in front of wordpress - This can also be fixed

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.