Top "Hostname" questions

A hostname is a human-readable nickname that is assigned to a device connected to a computer network and that is used to identify the device.

How can I use Python to get the system hostname?

I'm writing a chat program for a local network. I would like be able to identify computers and get the …

python hostname
how to find host name from IP with out login to the host

i need to find the host name of a UNIX host whose IP is known with out login to that …

unix command-line hostname
How to extract the hostname portion of a URL in JavaScript

Is there a really easy way to start from a full URL: document.location.href = "http://aaa.bbb.ccc.com/…

javascript hostname
Recommended way to get hostname in Java

Which of the following is the best and most portable way to get the hostname of the current computer in …

java network-programming environment-variables hostname
How to get hostname from IP (Linux)?

I'd like to get remote machine/hostname through IP Address. I found lots of answer such as nslookup, host, resloveip, …

linux hostname
Get hostname of current request in node.js Express

So, I may be missing something simple here, but I can't seem to find a way to get the hostname …

node.js express hostname
How to store the hostname in a variable in a .bat file?

I would like to convert this /bin/sh syntax into a widely compatible Windows batch script: host=`hostname` echo ${host} …

windows batch-file scripting hostname
Can I map a hostname *and* a port with /etc/hosts?

Can I map an IP address like 127.0.0.1 to a domain name and a port? For example, I would like to …

linux dns port hostname
Java SSL: how to disable hostname verification

Is there a way for the standard java SSL sockets to disable hostname verfication for ssl connections with a property? …

java ssl ssl-certificate hostname
Python lookup hostname from IP with 1 second timeout

How can I look up a hostname given an IP address? Furthermore, how can I specify a timeout in case …

python dns hostname nameservers