I have an idea below text in .htaccess file in magento root folder. Order allow,deny tells your web server that the Allow rules are processed before the Deny rules. Order deny, allow means that the deny rules are processed before the allow rules.#
By default allow all access
Order allow,deny Allow from all
After that i added below text "Deny from 184.108.40.206"
above ip address is my system public ip address.But still i able to access magento site(localhost)
and through cmd ipconfig command i get different ip now .using that ip address also i'm able to access my site. So where my configuration is wrong.Thanks in advance.