name of the server: hostname
or to get its ip address: /sbin/ifconfig
note that 'localhost' (and 127.0.0.1) always points to yourself, so you wouldn't use it to access a remote server (unless you have a ssh tunnel)...
does pg_hba.conf exist anywhere (locate pg_hba.conf)? Refer to the postgres docs on Client Authentication for more information.
Comment on Re^3: Querying Postgres DB on Linux from Windows