I'm trying to understand in which scenarious I will need to use such command :
netsh http add urlacl url=http://server1:1234/ user=Everyone
Is it like using the
hosts file where I can connect a specific address to my computer ? (I don't think so).
The docs are not that clear ( to me) :
Netsh is a command-line scripting utility that allows you to, either locally or remotely, display or modify the network configuration of a computer that is currently running. Netsh also provides a scripting feature that allows you to run a group of commands in batch mode against a specified computer. Netsh can also save a configuration script in a text file for archival purposes or to help you configure other servers.
Can someone please supply a real life scenario (+ implementation) where I will want to use it ?
Additional Info : I've read this question where a guy who've tried to access ( via C#) to :
http://localhost:1234 works, but
(However - I don't understand why didn't he use the
hosts file which could solve it ) - But then another person has answered that
netsh will do the job.
So I guess I'm missing something here.