use the commands given in image
1. insert : $ su
2. insert password: *******
3. # cd/etc/apache2/
4. now there is a file for edit in apache editing
5. comment the "require all granted "
6 Add "Require ip 127.0.0.1"
7 restart apache
8 # sudo service apache2 restart
Happy coding :)
nobody can check your directory by your IP