ping hostname or nslookup hostname For more details: http://www.zilckh.com/how-to-find-ip-address-from-hostname-in-a-windows-system-using-command-line/
The host name and the ip address is present in the HttpRequest object. Usually it is passed as an argument to the doXXX methods. public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException { // Get client's IP address String ipAddress = req.getRemoteAddr(); // Get client's hostname String hostname = req.getRemoteHost(); }
The hostname of my main computer running Ubuntu 13.04 is rodney@downstairs. rodney is my user name, and downstairs is the host name of my computer. To find your IP address, open a terminal (Ctrl + Alt + Tare the shortcut keys I like using) and type: ifconfig and press Enter. Your IP address may look something like: 192.168.1.x (x being a unique number to identify each computer or device on a network).
SSH is extremely simple. Using the SSH client, you connect to the computer running the SSH server using the commandssh [ip address or hostname here]
pinging the hostname will resolve the ip for you Click START - RUN type CMD then Enter type Ping (Computername) then Enter
The hostname (the name of the computer) can be found in most Linux distributions by issuing the hostname command without arguments. Alternatively, you can view the contents of /etc/hosts. The hostname will be listed next to the IP address 127.0.1.1.
Router(config)# hostname AdminAdmin(config)# enable secret cangetinAdmin(config)# interface fa0/1Admin(config-if)#ip address 192.168.1.22 255.255.255.248Router(config)# hostname AdminAdmin(config)# enable password cangetinAdmin(config)# interface fa0/1Admin(config-if)# ip address 192.168.1.22 255.255.255.248Router(config)# hostname AdminAdmin(config)# enable secret cangetinAdmin(config)# interface fa0/0Admin(config-if)# ip address 192.168.1.22 255.255.255.248Router(config)# hostname AdminAdmin(config)# enable password cangetinAdmin(config)# interface fa0/0Admin(config-if)# ip address 192.168.1.22 255.255.255.248
A DHCP server assigns the computer the IP address, while the DNS servers are responsible for providing names and lookup addresses when a computer requests the IP address of a hostname.
ping [hostname] or ping [IP address]For example:ping wiki.answers.comorping 127.0.0.1
Decipher the IP address means, obtain IP address using Hardware address, and basically we use RARP(Reverse address resolution protocol) to find out the IP address from hardware address.
Find out someones IP address type it into the IP address bar and hit type in your message and hit send (if your using Gmail)
You can find your External IP address by using Ip-details.com .Also it displays some other relevent information of IP such as ISP,IP location,Country etc.,