Horje
How to Get Local IP Address?

Answer: Open the command line or terminal and type `ipconfig` (Windows) or `ifconfig` (Unix/Linux) and press Enter.

A local IP address is assigned to your device by your router and is used to identify it on your local network. It’s different from your public IP address, which identifies your device on the wider internet.

Windows

  • Open Command Prompt.
  • Type “ipconfig” and press Enter.
  • Look for the “IPv4 Address” under the network adapter you are connected to.

macOS

  • Open Terminal.
  • Type “ipconfig getifaddr en0” for Ethernet or “ipconfig getifaddr en1” for Wi-Fi, and press Enter.

Linux

  • Open Terminal.
  • Type “ifconfig” or “ip addr show” and press Enter.
  • Look for the IP address listed under the network adapter you are connected to.

Your local IP address will be displayed in the output, typically labeled as “IPv4 Address” or similar.




Reffered: https://www.geeksforgeeks.org


Computer Networks

Related
How do I Find IP Address of a Device Connected to My Computer? How do I Find IP Address of a Device Connected to My Computer?
How do I Remotely Access a Network PC? How do I Remotely Access a Network PC?
How Can I Remotely Access Another Computer for Free? How Can I Remotely Access Another Computer for Free?
How to Find Network IP Address of Computer Using Computer Name? How to Find Network IP Address of Computer Using Computer Name?
How to Connect Two Home Computers Through a Network? How to Connect Two Home Computers Through a Network?

Type:
Geek
Category:
Coding
Sub Category:
Tutorial
Uploaded by:
Admin
Views:
13