
When I set up my device, the HTTP RESTful API was failing from the browser with an error msg “Invalid token”. Your Raspberry Pi may have a different IP address depending on whether it's connected to WiFi or Ethernet, and that address might even change from time to time.Why he’d need this info is still a mystery, unless he was having geo DNS issues and wants to know if a ping from his mobile device resolved the same IP as the server his MCU has connected to.
#CARA MENGETAHUI IP SERVER WIFI ANDROID#
It also found a couple of Android phones, and a Slice! Things to remember When you run Angry IP Scanner it should automatically pick a sensible IP Range for you- all you need to do is press Start and keep an eye out for your Raspberry Pi.Īs you can see above, Angry IP Scanner found my Pi on the local network with its default hostname of "raspberrypi".
#CARA MENGETAHUI IP SERVER WIFI WINDOWS#
We use something called Angry IP Scanner ( ), this runs on Linux, MacOS X or Windows and lets you scan your entire local network to find devices- including any Pi's you might be running. Most home networks will have about 254 possible combinations of IP address, so looking at them all is an easy task for a computer. You can also find your Raspberry Pi by doing what's known as an "IP Scan" across your whole network. Finding your Raspberry Pi's IP Address - from your laptop/desktop computer! It may also mean you need to set up your WiFi connection, or that there's something wrong with your network cable connection. This means you've not got a connection on that device and should try the other one. Or you can use the shorthand if you're comfortable scanning for the IP address: ifconfig wlan0 If you have difficulty finding it, you can try: ifconfig eth0 | grep inet | awk '' The bit we're looking for is the group of numbers immediately following "inet addr". The result of this command should be a glut of text and numbers, most of which we can ignore. If you're using your Pi with a network cable, you should type: ifconfig eth0 Finding your Raspberry Pi's IP address - if you're using a network cable This will normally contain a prompt like ~ $" and it's immediately after this that you should type the below commands.


You can do this by double-clicking the LXTerminal icon which should be near the bottom-left corner of your screen.Ī black window should pop up with a green and blue prompt in it. If you're looking at your desktop, the first thing you'll need to do is get to a commmand prompt. Most likely you're sitting in front of your Pi connected to a monitor, and looking at the graphical desktop, or perhaps just a blank screen with text known as the Command Prompt. Its IP address is like a postal address, and allows you to find your Pi on your local network.


In order to connect to your Pi from a web browser, or remotely using a Terminal, you'll need to find your Pi's IP Address.
