Hikvision ports

Hikvision Ports: Which to Open for Remote Viewing

Hikvision cameras, DVRs and NVRs use TCP 8000 (server port) for iVMS-4200 and the mobile app, TCP 554 for RTSP video, and TCP 80 and 443 for the web interface. Hik-Connect needs no port forwarding. For direct access, forward 8000 and 554; behind CGNAT, a VPN with port forwarding opens them for you.

Some links on this page are affiliate links. If you buy through them, we may earn a commission at no extra cost to you.

Server (SDK) port
8000 TCP
RTSP
554 TCP
Web interface
80 HTTP, 443 HTTPS
Enhanced SDK (TLS)
8443 TCP
ONVIF
Uses the HTTP port, 80
Hik-Connect
No port forwarding needed
Check if port 8000 is open

Last updated:

Hikvision default ports

Default ports on Hikvision cameras, DVRs and NVRs
PortProtocolUsed forForward for remote access?
8000TCPServer port: iVMS-4200, the Hik-Connect app in IP/Domain mode and the SDKYes, for direct app access
554TCPRTSP video streams for VLC, Blue Iris, Home Assistant and other NVRsOnly if a third-party app needs the stream
80TCPWeb interface (HTTP) and ONVIFAvoid; use 443 if you need the web page
443TCPWeb interface over HTTPSOptional, instead of 80
8443TCPEnhanced SDK service over TLSOnly if your client software uses it
7681TCPWebSocket for plug-in-free live view in a browserOnly together with the web port

How to find your Hikvision ports

Every port can be changed, and newer firmware may move some of them, so check your device before you set up forwarding. Other brands differ: Dahua, for example, uses 37777 where Hikvision uses 8000.

  • Camera or NVR web interface: Configuration > Network > Basic Settings > Port shows the HTTP, RTSP, HTTPS and server ports.
  • Recorder's local menu: open the network settings and look for Server Port, HTTP Port and RTSP Port.
  • SADP, Hikvision's free discovery tool, lists every device on your LAN with its IP, server port and HTTP port.

Hik-Connect ports: no port forwarding needed

Hik-Connect, Hikvision's cloud P2P service, works the other way round: the recorder connects out to Hikvision's cloud, and the app reaches it through that link. You do not forward any port for it.

If your firewall blocks outbound traffic, allow the Hik-Connect cloud ports. Hikvision support lists 6002, 6800, 8555, 9010 and 9020, and integrators also list 8666. These are outbound only and never need forwarding.

Hik-Connect depends on Hikvision's cloud and account system. If you prefer a direct connection from iVMS-4200 or the app with no cloud in between, use port forwarding on 8000, or a VPN with port forwarding when your ISP uses CGNAT.

ONVIF port on Hikvision cameras

ONVIF on Hikvision cameras uses the HTTP port, 80 by default, so NVRs and video software from other brands connect on 80 unless you changed it. Since firmware 5.5.0, ONVIF is turned off by default.

  1. 1

    Enable ONVIF

    In the camera's web interface, go to Configuration > Network > Advanced Settings > Integration Protocol and tick Enable ONVIF. Newer models put it under Maintenance > System Service > ONVIF. Enable Hikvision-CGI on the same page as well.

  2. 2

    Add an ONVIF user

    Create a user on the same page. The other NVR or software signs in with this account, not the camera's admin account.

  3. 3

    Connect on the HTTP port

    Add the camera in the other system with its IP and the HTTP port (80, or the port you set).

How to port forward a Hikvision NVR or camera

Diagram: iVMS-4200 or the app reaches a Hikvision NVR through router port forwarding on TCP 8000 and 554, while Hik-Connect connects out to the cloud with no forwarding
  1. 1

    Give the recorder a fixed IP

    Set a static IP in the recorder's network settings, or reserve its address in your router's DHCP settings.

  2. 2

    Pick the ports

    Keep 8000 and 554, or move them to less obvious numbers such as 8010 and 5540 to cut down automated scans. Change them on the device first.

  3. 3

    Forward TCP 8000 and 554

    Create TCP rules on your router to the recorder's IP for the server port and, if you need it, the RTSP port. Add 443 only if you need the web page remotely, and leave 80 closed. If you set rules by hand, turn off UPnP on the recorder.

  4. 4

    Test from outside

    Check the server port with the port forwarding test, then add the device in iVMS-4200 or the Hik-Connect app (IP/Domain mode) with your public IP or DDNS name and port 8000.

TCP or UDP?

TCP. The server, web and RTSP ports all run over TCP, so forward TCP. Video can be streamed over UDP inside the network, but remote clients work best with RTSP over TCP.

Hikvision RTSP URL

Use this format in VLC, Blue Iris or Home Assistant. Channel 101 is camera 1's main stream and 102 its sub-stream; on an NVR, 201 is camera 2.

rtsp://username:password@192.168.1.64:554/Streaming/Channels/101

Hikvision remote access not working?

Common Hikvision remote access problems
SymptomLikely causeFix
Port 8000 shows closed from outsideThe rule points at the wrong IP or port, or the recorder's IP changedFix the rule and give the recorder a fixed IP
iVMS-4200 works at home, not awayThe device was added by its LAN IPAdd it again with your public IP or DDNS name and port 8000
Hik-Connect shows offlineOutbound traffic or DNS to the cloud is blockedAllow the Hik-Connect ports and check the recorder's DNS settings
Router WAN IP is 100.64.x.x to 100.127.x.xYour ISP uses CGNATPort forwarding cannot work; see the next section
Live view fails in the browserThe WebSocket or plug-in port is blockedUse iVMS-4200 or the app, or allow the WebSocket port with HTTPS

Viewing Hikvision cameras remotely behind CGNAT

Starlink, 5G home internet and many fiber ISPs use CGNAT, so no router rule can reach your recorder. Hik-Connect still works because it connects out, but for direct access you need a public port of your own.

Ways to reach Hikvision cameras behind CGNAT
OptionDirect access by IPGood to know
VPN with port forwardingYesOpens 8000 and 554 on a public IP; 31-day money-back guarantee
Hik-ConnectNo, through the cloudFree; depends on Hikvision's cloud account
Tailscale or WireGuard into your LANYes, from your own devicesRecorders cannot run the app, so it needs a router or PC as a gateway
Public IPv4 from the ISPYesOften a business plan; not on Starlink residential or most 5G plans

Set it up with PureVPN

PureVPN's Port Forwarding add-on lets you choose the ports, so you can open TCP 8000 and 554 exactly as your recorder expects. Recorders cannot run VPN apps, so set up PureVPN on your router, then add the device in iVMS-4200 with the PureVPN IP and port 8000. A dedicated IP keeps that address the same, so every saved device keeps working. See port forwarding behind CGNAT for the full setup.

  • Remote camera access behind CGNAT

    PureVPN + Port Forwarding

    • Open TCP 8000 and 554, or any ports your recorder uses, up to 15 at a time.
    • Runs on routers, so NVRs and cameras need no app.
    • Dedicated IP option for a fixed address in iVMS-4200.
    • 31-day money-back guarantee.
    Get PureVPN Port Forwarding

Is it safe to open Hikvision ports?

  • Yes, with current firmware. Hikvision has patched serious flaws in older firmware, such as CVE-2021-36260 in the web server, so update before you open anything.
  • Forward only the server port and, if needed, RTSP. Keep the web port 80 closed to the internet, and use HTTPS if you must reach the web page.
  • Use a strong, unique admin password, and create separate users with limited rights for viewing.
  • Scan your public IP with the port scanner after any router change to confirm only the ports you chose are open.

Hikvision ports FAQ

What ports do Hikvision cameras use?

TCP 8000 (server port) for iVMS-4200 and the mobile app, TCP 554 for RTSP, TCP 80 and 443 for the web interface, TCP 8443 for the encrypted SDK service and TCP 7681 for browser live view.

Is Hikvision port 8000 TCP or UDP?

TCP. Forward TCP 8000 for iVMS-4200 and the Hik-Connect app in IP/Domain mode.

What is the default port for Hikvision?

The server port is 8000. The web interface uses 80 (HTTP) and 443 (HTTPS), and RTSP uses 554.

How do I find my Hikvision port?

Open the device's web interface and go to Configuration > Network > Basic Settings > Port, or run SADP, which lists each device's server port and HTTP port.

What ports does Hik-Connect use?

Hik-Connect needs no forwarded ports: the recorder connects out to Hikvision's cloud. If your firewall restricts outbound traffic, allow ports such as 6002, 6800, 8555, 8666, 9010 and 9020.

What port does Hikvision use for ONVIF?

The HTTP port, 80 by default. ONVIF is off by default since firmware 5.5.0; enable it under Configuration > Network > Advanced Settings > Integration Protocol and add an ONVIF user.

How do I port forward a Hikvision DVR or NVR?

Give the recorder a fixed IP, forward TCP 8000 (and 554 for RTSP) to it on your router, then add it in iVMS-4200 or the app with your public IP or DDNS name and port 8000.

How do I connect a Hikvision DVR to my computer?

Install iVMS-4200, add the device by IP with port 8000 and its admin password, or open http://<recorder-ip> in a browser on the same network.

What is Hikvision port 8666?

It is listed among the ports Hik-Connect uses to reach Hikvision's cloud. Traffic goes out from the recorder, so you do not forward it.

What is the Hikvision RTSP URL?

rtsp://username:password@<ip>:554/Streaming/Channels/101 for camera 1's main stream. Use 102 for the sub-stream and 201, 301 and so on for other NVR channels.

Can I view Hikvision cameras remotely without port forwarding?

Yes, with Hik-Connect, which works through Hikvision's cloud. For direct access by IP behind CGNAT, a VPN with port forwarding opens 8000 and 554 on a public IP instead.

References