2

Whan I attempt to use Developer Client Restrictions, should I use my LAN IP address or my public IP address? I am accessing the site remotely. I assume it\’s the public IP, but I just want to be sure.

1 Answers1

7

The Developer Client Restrictions setting does not restrict access to the site. Rather, that setting is evaluated in several different contexts to determine whether certain developer-related behaviors such as logging and template path hints should display. (It's sometimes buggy, e.g. breadcrumb block behavior with FPC & that setting turned on).

You will need to use the address which will be provided to the application via $_SERVER['REMOTE_ADDR'] (your public IP in this case).

benmarks
  • 23,384
  • 1
  • 62
  • 84
  • 1
    Its use is unfortunately not obvious. Magento, Inc. is [drastically overhauling the admin](http://blog.mageupdate.com/2013/02/magento-2-admin-theme-sneak-peek.html) to reduce this confusion in Magento 2. – benmarks Mar 22 '13 at 14:43