How can we get the IP address of the client? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 31

How can we get the IP address of the client?

17th Jan 2017, 3:11 PM
//Lana Wilson
//Lana Wilson - avatar
9 Answers
+ 32
Thanks for Your answers!
18th Jan 2017, 10:44 AM
//Lana Wilson
//Lana Wilson - avatar
+ 6
you should check out the Q&A section.
17th Jan 2017, 3:12 PM
James Flanders
+ 4
23rd Jan 2017, 9:27 AM
Thomas Hj
Thomas Hj - avatar
+ 3
she asked for the client, not the server
17th Jan 2017, 10:59 PM
joaquin
joaquin - avatar
+ 2
Flanders is right!!
17th Jan 2017, 3:13 PM
Rafael Hovhannisyan
Rafael Hovhannisyan - avatar
- 2
Open a command console. On a Mac, it's called Terminal and it's in the Utilities folder. On a PC, click on Start, then "All Programs", then Accessories, and then Command Prompt. This will let you ping any website to find out the IP address of that website.
17th Jan 2017, 6:35 PM
Rishabh Kishor
Rishabh Kishor - avatar
- 2
Ping an address. This sends a signal out to a URL which then bounces back with the website information attached, and how long the round trip took.Type "ping [URL]" - example: ping www.facebook.com.
17th Jan 2017, 6:36 PM
Rishabh Kishor
Rishabh Kishor - avatar
- 2
Press return/enter. The IP address should appear beside the website name, followed by how many seconds or milliseconds the ping took.The format of an IP address is numeric, written as four numbers separated by periods. For Facebook, the IP address is 69.171.237.16.
17th Jan 2017, 6:37 PM
Rishabh Kishor
Rishabh Kishor - avatar