Jump to content

wrong ip address being logged


snake

Recommended Posts

are you using the free version of WHMCS Bridge? that usually reports the web server IP address rather than the client.

 

it's probably intentional on their part because their Pro version fixes this - so they want people to upgrade to their Pro plugin, which is currently $30 every six months!

Link to comment
Share on other sites

  • WHMCS Support Manager

Hi,

WHMCS checks for the following in this order. If the IP is available and not a local address, it will use that as the client's IP address on the order form, details, and logs. If none of these are available, WHMCS will return the REMOTE_ADDR as the IP. This applies to both IPv4 and IPv6 connections.

 

HTTP_CLIENT_IP

HTTP_X_FORWARDED_FOR

HTTP_X_FORWARDED

HTTP_X_CLUSTER_CLIENT_IP

HTTP_FORWARDED_FOR

HTTP_FORWARDED

REMOTE_ADDR

 

So you would need to make sure at-least one of these PHP variables are correctly reflecting the visitor's IP address.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated