![]() ![]() The hosts file is found on all operating systems. Open your browser and try to access and see you can’t access this site. I am blocking Facebook and adding custom domain here as well. The macOS hosts file is also similar to the windows and Linux hosts file. Using the vim text editor you can easily edit you. There will be a message with the RSA key fingerprint of the n tunnel server when you connect for the first time, and you’ll need to agree to continue with the connection. It will prompt for the password, enter your administrator password You’ll need to run the following (again, modify port number to suit your set up): ssh -R 80 :localhost:3000. Type sudo vim /etc/hosts in the terminal.We can use Spotlight application to search Find the terminal application on your system.Now again I am blocking Facebook and adding a custom domain The Linux hosts file is similar to the windows hosts file. Using the vim or your favorite text editor you can easily edit. The Address Resolution Protocol (ARP) is a protocol that acts as a bridge between layer 2 and layer 3 components of the OSI model.It will prompt for the password, enter your administrator password. In the Linux terminal window, open hosts file using a favorite text editor $ sudo vim /etc/hosts Open your browser and try to access and see you can’t access this site Just Copy and Paste following Lines 0.0.0.0 127.0.0.1 After finishing the Editing, Save your hosts file Suppose you want to block on your system and want to add a custom domain for your website. Click on File > Open and Copy and Paste the following path` ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |