server.hostname (Property)

The hostname and port property of the receiving server object.


JavaScript - 1.1
Netscape Enterprise server - 2.0
Property/method value type:String primitive
JavaScript syntax:NESserver.hostname

This value will be the same as the host property if the port number the server listens on is 80. Otherwise, the port number will be appended to the host value and that will be the hostname value. A colon separator is introduced between the host and port values.

See also:Netscape Enterprise Server