Forum OpenACS Q&A: Response to script to modify the hostname and address in nsd.tcl

Roberto, those are indeed the default settings ([ns_info hostname] and [ns_info address]). But for some reason they don't seem to work on my machine. I have to specify a valid ip address and a valid hostname in the nsd.tcl file. Is ns_info looking into the etc/hosts file to extract the information?... or where?
This is not really something that stops me using OpenACS, is just that I am really keen to know more about what's happening behind the scenes.