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 get a the host name (with port) that a servlet is at

I thought ServletContext might provide a method. Does the getAttribute() method of ServletContext provide any help i.e. is there …

java servlets hostname
Node JS return hostname

I'm still learning Node JS and javascript and have an app. I have a configuration file where I need to …

javascript node.js hostname
Getting IP addresses for hostnames using nslookup in Powershell

I am new to Powershell scripting and I need to write one script. I have a list of server hostnames …

powershell ip hostname nslookup
Alias hostname for localhost

Assuming that a local Python-Script is running a webserver. Is there any way to set an alias, so that http://…

localhost alias hostname
What is the maximum number of characters for a host-name in Unix?

I am wondering what is the maximum number of characters for a host-name in a Unix system. In addition is …

c unix max hostname
How to get full host name + port number in Application_Start of Global.aspx?

I tried Uri uri = HttpContext.Current.Request.Url; String host = uri.Scheme + Uri.SchemeDelimiter + uri.Host + ":" + uri.Port; and it …

c# asp.net url request hostname
Can we set easy-to-remember hostnames for EC2 instances?

I'm running a couple of standard Fedora instances on EC2. I feel the public hostnames of the instances assigned by …

amazon-ec2 hostname
How to reach docker containers by name instead of IP address?

Is there a way I can reach my docker containers using names instead of ip addresses? I've heard of pipework …

dns docker hostname docker-compose docker-machine
Copying files with scp: connection timed out

I am running a script on a remote machine and I would like to copy the output file on my …

linux scp hostname