Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Ask questions, find answers and collaborate at work with Stack Overflow for Teams.
Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
In Windows 10 cmd line issuing
ping raspberrypi.local
to find the IP address of the Raspberry Pi returns a hex address like this:
fe80::103d:b922:5838:6142%9
How can I get the numerical IP address?
ping -4 -c 1 raspberrypi.local
ping -4 -n 1 raspberrypi.local
-n 1
-4
It is an IPv6 address, not an IPv4 address. Tell ping to search IPv4 only with the -4 option:
Required, but never shown
By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.
ping -4 -c 1 raspberrypi.local
on Linux and Windows :ping -4 -n 1 raspberrypi.local
-n 1
for windows but you can also omit that.. keep only-4