HowTo Security Tips & Tricks

Find your IP Camera port & login page easily

Find your IP Camera port and login page easily. In this post I will tell you the best way of doing this. I am going to teach you how to find your cameras port and IP address by scanning the available ports on specific IP address. I’ll do this on local network, but it will work even in public network, if the ports are opened in your home router, and allowed by your ISP.

First step: Install Nmap

find your ip camera port nmap

Nmap is a powerful network scanning software. It is free for all to use and also open source, so you do not need to pay for any software to do this easily, if you know what you’re doing.

Nmap (“Network Mapper”) is a free and open source (license) utility for network discovery and security auditing. Many systems and network administrators also find it useful for tasks such as network inventory, managing service upgrade schedules, and monitoring host or service uptime. Nmap uses raw IP packets in novel ways to determine what hosts are available on the network, what services (application name and version) those hosts are offering, what operating systems (and OS versions) they are running, what type of packet filters/firewalls are in use, and dozens of other characteristics. It was designed to rapidly scan large networks, but works fine against single hosts. 


You can download Nmap from here. I’m not going to explain the installation process, because the page has installation instructions that are very detailed. I trust you will be able to handle the installation. If you’re using Linux, some distributions even have it in their default repositories. For example in Debian and many Debian based distributions, like Ubuntu, you can just use the following command to install it.

sudo apt install nmap

That should be easy enough. It may not be the latest version but will probably work just as fine. The version we are going to use in this guide is 7.80.

Step 2: Finding the IP Address of your IP Camera

Next, we will need to find the IP of the camera. If your camera is in local network. If you want to find the public networks camera, you should already know the IP first. Easiest way to find it, is to check your routers settings for the available devices that are using your internet currently. I will not show this, because every router is different, but it shouldn’t be so hard to find.

Best way to find the gateway to router log in, is just to check it from the router. Most routers have it written somewhere. If not, you can find them out with your computer.

On Linux and MacOS terminal, you can just use the following command.

netstat -r -n

Output should be something like this:

Destination        Gateway            Flags        Netif Expire
default        UGSc           en0
127                UCS            lo0          UH             lo0
169.254            link#5             UCS            en0      !
192.168.100        link#5             UCS            en0      !   link#5             UCS            en0      !

So, my gateway is, then just log in to your router and find the IP of the camera, by finding all the devices that use your wifi. If your router settings don’t show them, we can also do this by scanning the entire local network with nmap, which will be shown on the next step.

Step 3: Find your IP Camera port by scanning it with Nmap

Now that we have found the IP address of the camera, we can just start by scanning it. My camera’s IP seems to be

Scan the open ports rapidly:

nmap -r

If your camera is very low on security, only that won’t work and it might show you this:

Starting Nmap 7.80 ( ) at 2019-11-16 19:05 EET
Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn
Nmap done: 1 IP address (0 hosts up) scanned in 3.08 seconds

Yes, as you might have guessed, just obey what Nmap says.

nmap -r -Pn

That should output the correct port number for you camera. My cameras port is 81, so now I can add it to any IP Camera software, or just use browser to manage it. The address is in this form:

If you were having problems of finding your cameras IP, I will now show you how to scan the entire network. This might take a long time, so you really need to be very patient if you try this one out, well my scan took 11 seconds, it really depends how much devices you got connected. Find the route first, and then scan it. It will first scan all the devices, and then all 1000 ports of every device.

nmap -r

If you use -Pn with that, it might really take very very long.

I hope you found my post helpful. Please be back and read also my other posts. Other posts that may interest you: Hack SSH with Nmap and Hydra.

Leave a Reply

Your email address will not be published. Required fields are marked *