If you haven't registered a domain name that corresponds to your IP address, then try changing your hostname parameter to your IP address:
For example I have a development machine that's web server is only on a LAN, I use the following in my .ini file:
[ns/server/ecom_4x_dev/module/nssock]
timeout=120
Address=10.0.0.10
Hostname=10.0.0.10
Port=8003
In a .tcl configuration file it would look this:
set httpport 8003
...
# The hostname and address should be set to actual values.
set hostname 10.0.0.10
set address 10.0.0.10
Hope this helps,