Linux hostid-Linux Enterprise Application-Linux server application information. The following is a detailed description. Many authorization software will verify the IP address. But sometimes I find that sometimes the IP address is correct, why can't I pass the verification? In fact, this software is the verified hostid.
Hostid is the IP address corresponding to the hostname. Then, convert the IP address to hex, and then the result is displayed after the 2143 position is reversed.
This is recorded in the/etc/hosts file. For example, if the ip address of my hostname: dakam-laptop is 127.0.1.1, then my hostid is 007f0101.
127.0.0.1 localhost
127.0.1.1 dakam-laptop
# The following lines are desirable for IPv6 capable hosts
: 1 ip6-localhost ip6-loopback
Fe00: 0 ip6-localnet
Ip6-mcastprefix ff00: 0
Ff02: 1 ip6-allnodes
Ff02: 2 ip6-allrouters
Ff02: 3 ip6-allhosts
If you are not sure about your host name, I will tell you that it exists in the/etc/hostname file. you can use the hostname command on the terminal. there is also a terminal Command Prompt before and @ after the character is your Hostname ..
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service