In our website we use [current-user:ip-address] token which shows the ip adress of server please help
Pleae refer this Page

Comments

ktmwebhosting created an issue. See original summary.

ktmwebhosting’s picture

Priority: Normal » Critical
apaderno’s picture

Issue tags: -[current-user:ip-address]
fjgarlin’s picture

@ktmwebhosting - more details might be needed, specially on the hosting where the site is. The module just uses ip_address() function from Drupal: https://api.drupal.org/api/drupal/includes%21bootstrap.inc/function/ip_a...

This uses `$_SERVER['REMOTE_ADDR']` or `$_SERVER['HTTP_X_FORWARDED_FOR']` if you have a proxy. There are some servers / hosting providers that might change those values. If you provide more details into what you were getting or some `phpinfo()` dump then this might help.