Use Host Name (-H) to identify the host name.

Operating system and syntax UNIX / Windows(TCP)
-H {host-name | localhost1}
Use with Maximum value Minimum value Single-user default Multi-user default
Client Connection, Database Server, DataServer
host-name
The name (address) of the database server machine. This name is assigned to the machine in your TCP/IP hosts file.
localhost
A reserved word that specifies that the database server communicate only with clients on the database server machine.
1 Localhost does not apply to DataServers.