Priya Rammohan
1 min readSep 13, 2020

How to block a URL, to simulate connection timeouts?

os: ubuntu -18.04
write permissions to file /etc/hosts
edit the hosts file with the command: sudo vi /etc/hosts
add a line at the end: 127.0.0.1 manage.office.com
o, dd, wq are some useful vi commands
Enjoy your connection timeouts !!

No responses yet