CCTV TRACKERwe let you know
Home / Blog / How-to

How to Check if an IP Camera Is Online (Ping, Ports, RTSP and ONVIF)

Ping is the first test, but not the last. Here is how to check a camera properly, from the network up to the video stream.

How-to27 Jul 20268 min read

When a camera shows no picture, you need to know quickly: is the camera reachable at all, or is the problem further up? Work from the network layer upward.

Step 1: Ping the camera

From a PC on the same network, open Command Prompt and run ping 192.168.1.21 (use the camera's IP). Replies mean the device is alive on the network. No reply may mean it is down, but some cameras or firewalls block ping, so no reply alone is not proof.

Step 2: Check the service ports

A camera that answers ping may have a crashed video service. Test the ports it uses. In PowerShell:

Test-NetConnection 192.168.1.21 -Port 80
Test-NetConnection 192.168.1.21 -Port 554

Common ports (always confirm in your camera's manual or settings):

PortUsually used for
80Web interface (HTTP)
443Web interface (HTTPS)
554RTSP video stream
8000Hikvision SDK service
37777Dahua service

Step 3: Open the web interface

Enter the camera's IP in a browser. A login page proves the web service works. Note that a camera can be reachable and still not be recording.

Step 4: Test the RTSP stream

Open the stream in VLC (Media, Open Network Stream) using the RTSP URL for your brand and model. If video plays, the camera is working end to end. If the port is open but no video plays, check credentials, stream profile and codec.

Step 5: Use ONVIF discovery for unknown cameras

ONVIF is a common standard. Cameras that support it answer WS-Discovery probes (UDP port 3702, multicast address 239.255.255.250), which is how discovery tools find them even when you do not know the IP. This only works on the same network segment.

Step 6: Find out why it is not reachable

  • Is the link light on at the switch port?
  • Is the camera getting power (PoE LED)?
  • Did its IP change? Scan the network.
  • Is another device using the same IP?
  • Is the PC on the right VLAN or subnet?

Automate it

Doing this by hand for fifty cameras is not realistic. A monitoring tool checks every device continuously and alerts you. CCTV Tracker scans the network to find devices, lets you add them with names and locations, and sends WhatsApp and email alerts if one stops responding. See also how to scan a network for IP cameras.

The CCTV Tracker team
We build CCTV uptime monitoring and the dealer tools around it, from Udaipur, India.

Keep reading

Stop finding out about dead cameras after the incident

Get alerted within a minute, on WhatsApp and email. Set up in minutes with no extra hardware.