GoSecurityHub
Technical Article

What Is the RTSP Port? What Is Port 554 Used For? IP Camera Connection Guide

Sistem Yöneticisi21 min read

The RTSP port is a network service port that enables IP cameras, NVR devices, and video management software to access media streams. What is the standard port 554 used for? What are the differences between TCP and UDP? How can the RTSP port be changed, tested, and secured?

IP güvenlik kamerasının RTSP 554 portu üzerinden ağ anahtarına, NVR kayıt cihazına ve merkezi görüntüleme sistemine bağlanması.

IP camera systems use various network services to transfer live footage to NVR devices, video management software (VMS), computers, and AI-powered video analytics platforms. RTSP, one such service, is a media control protocol accessible by default through port 554.

Correct configuration of the RTSP port is essential for IP cameras from different manufacturers to work on the same system, for live video transmission, and for troubleshooting camera connection issues.

However, having port 554 open is not enough on its own to view camera footage. The RTSP address, user permissions, media transport method, codec compatibility, and network security must also be configured correctly.

What Is the RTSP Port?

The RTSP port is the logical endpoint that makes the Real-Time Streaming Protocol service accessible over a network.

IP cameras, NVR devices, DVR devices, and media servers make the RTSP services they support available to clients through a specific port.

The RTSP port is not a physical Ethernet port. It is a software service port that operates within the TCP/IP network architecture.

The main uses of the RTSP port include:

  • IP camera live-view connection

  • NVR and DVR camera integration

  • Video management systems

  • Central security monitoring centers

  • AI-powered video analytics systems

  • People-counting systems

  • License plate recognition systems

  • Thermal camera integration

  • Remote-viewing applications

  • Video stream testing through VLC and FFmpeg

What Is Port 554? What Is It Used For?

Port 554 is the standard service port assigned to the RTSP protocol by the Internet Assigned Numbers Authority (IANA).

If an IP camera provides its RTSP service through TCP port 554, an NVR, VMS, or media player can connect to that port to establish a media session.

The main operations that can be performed through port 554 include:

Operation

Description

Media query

Learning the media capabilities offered by the camera

Session establishment

Preparing the media connection

Starting the stream

Starting live video transmission

Transport method selection

Selecting methods such as TCP or UDP for RTP

Session management

Controlling the media connection

Session termination

Closing the video connection

Media transport

Transmitting RTP and RTCP packets over the same connection in Interleaved TCP mode

The primary purpose of port 554 is to control the RTSP session. However, depending on the transport method used, video and audio packets can also be transmitted over the same TCP connection.

How Does the RTSP Port Work?

RTSP communication is generally based on a client-server architecture.

An IP camera can act as the RTSP server, while an NVR or video management software can act as the RTSP client.

A typical RTSP connection consists of the following steps:

  1. The client connects to the camera's IP address and RTSP port.

  2. Supported media capabilities are queried.

  3. User authentication is performed.

  4. The transport method for the video or audio stream is selected.

  5. A media session is established.

  6. The video stream is started.

  7. Media transmission continues until the session is terminated.

RTSP Connection Commands

RTSP command

Function

OPTIONS

Discovering supported protocol commands

DESCRIBE

Retrieving information about the media stream

SETUP

Setting media transport parameters

PLAY

Starting the media stream

PAUSE

Pausing a supported stream

GET_PARAMETER

Querying session parameters

TEARDOWN

Terminating the media session

The RTSP 2.0 standard is defined in RFC 7826. Devices running the earlier RTSP 1.0 version are also found in the IP camera industry.

What Are the RTSP Port Numbers?

Although the default port number in RTSP applications is 554, other port numbers may also be used.

Port number

Protocol or use

Description

554

RTSP

Standard RTSP service port

8554

RTSP-ALT

Alternative RTSP port registered by IANA

322

RTSPS

Default TCP port for RTSP over TLS

10554

Alternative configuration

May be used by some devices and software

15554

Custom configuration

Can be set by the user

Dynamic UDP ports

RTP and RTCP

Transport of media packets over separate channels

The relationship of ports 554, 8554, and 322 to RTSP is defined in official standards. Other ports are examples that depend on device and application configuration.

Is Port 554 TCP or UDP?

One of the most common technical questions about RTSP is whether port 554 operates over TCP or UDP.

In IANA records, port 554 is assigned to the RTSP service for both TCP and UDP. However, the RTSP 2.0 standard uses a reliable transport protocol for control communication—in IP networks, TCP.

In conventional IP camera applications, the RTSP control connection is also established mostly over TCP.

Video and audio packets, meanwhile, can be transported using RTP over UDP or RTP over RTSP/TCP.

RTSP TCP and UDP Comparison

Technical feature

RTP over RTSP/TCP

RTP over UDP

Guaranteed packet delivery

Yes, subject to connection conditions

No

Packet ordering

Preserved

Managed by the application

Retransmission of lost packets

Handled by TCP

Not available in basic UDP

Latency

May increase due to retransmission

Generally lower

Effect of packet loss

Freezing and delays may occur

Image distortion may occur

Firewall management

Generally easier

Additional UDP ports may be required

Multicast support

No

Yes

Use case

NVR, VMS, remote connections

Local networks and low-latency applications

In professional CCTV projects, the transport method should be selected according to network quality, application requirements, and device compatibility.

What Are RTP and RTCP Ports?

The RTSP, RTP, and RTCP protocols have different roles in media transmission.

RTSP controls the media session, while RTP carries real-time audio and video packets. RTCP enables the sharing of timing and performance information related to media transmission.

Protocol

Function

Port configuration

RTSP

Media session control

Usually TCP 554

RTP

Video and audio packets

Port or TCP connection specified in the session

RTCP

Media control and statistics information

Port or TCP connection specified in the session

RTSPS

RTSP control protected by TLS

Default TCP 322

SRTP

Cryptographically protected RTP

Depends on configuration

TCP Interleaved Transport over RTSP

With the TCP Interleaved method, RTSP control messages and RTP and RTCP packets can be carried over the same TCP connection.

For example, a camera can use TCP port 554 for both session control and video packet transmission.

This method can simplify connection management in systems with different network segments, VPN connections, and firewalls.

RTP over UDP Transport

With UDP transport, the RTSP control connection is established over TCP port 554, while video and audio packets can be sent through UDP ports selected during the session.

Example connection configuration:

Traffic type

Example port

RTSP control connection

TCP 554

RTP video transmission

UDP 50000

RTCP control information

UDP 50001

RTP audio transmission

UDP 50002

RTCP audio control

UDP 50003

The UDP ports in the table are examples. Actual port numbers are determined by the media session configuration between the client and server.

Therefore, live video may not be available if the required UDP media traffic is blocked, even when access to TCP port 554 is available.

RTSP Ports by IP Camera Brand

Many IP camera manufacturers use port 554 as the default RTSP port.

Camera brand

Common default RTSP port

Hikvision

554

Dahua

554

Hanwha Vision (Wisenet)

554

Axis

554

Uniview

554

Tiandy

554

Vivotek

554

Bosch

554

Milesight

554

Avigilon

554

HiLook

554

Reolink

554

TP-Link Tapo

554

TP-Link VIGI

554

Amcrest

554

EZVIZ

554

Foscam

88 or 554 on some models

Port numbers are general examples. They may vary depending on the device model, firmware version, RTSP support, and user configuration.

How Is the RTSP Port Used in a URL?

In an RTSP URL, the port number is specified after the IP address, preceded by a colon.

General RTSP address format:

rtsp://IP-adresi:port/akis-yolu

RTSP Connection Using the Standard Port 554

rtsp://192.168.1.100:554/Streaming/Channels/101

RTSP Connection Using the Alternative Port 8554

rtsp://192.168.1.100:8554/Streaming/Channels/101

RTSP Connection Without Specifying a Port Number

rtsp://192.168.1.100/Streaming/Channels/101

If no port number is explicitly specified in the RTSP address, port 554 is used by default.

However, if the camera provides its RTSP service through a different port, that port number must be specified in the URL.

Port 554 RTSP Addresses by IP Camera Brand

Camera brand

Example RTSP address

Hikvision

rtsp://192.168.1.100:554/Streaming/Channels/101

Dahua

rtsp://192.168.1.100:554/cam/realmonitor?channel=1&subtype=0

Hanwha Vision

rtsp://192.168.1.100:554/profile1/media.smp

Axis

rtsp://192.168.1.100:554/axis-media/media.amp

Uniview

rtsp://192.168.1.100:554/media/video1

Reolink

rtsp://192.168.1.100:554/Preview_01_main

Milesight

rtsp://192.168.1.100:554/main

TP-Link Tapo

rtsp://192.168.1.100:554/stream1

Stream paths must be verified according to the device model. The fact that the RTSP port is the same does not mean that all cameras use the same RTSP address structure.

How to Find the RTSP Port Number?

An IP camera's RTSP port number can be found using different methods.

Finding the RTSP Port in the Camera's Web Interface

Sign in to the management interface using an authorized user account via the camera's IP address.

RTSP service settings can be checked in the Network, TCP/IP, Port, Network Service, Streaming, or Integration Protocol menus.

Menu names vary by manufacturer and firmware version.

Finding the RTSP Port via ONVIF

On ONVIF-compatible cameras, the media stream connection address can be obtained using the GetProfiles and GetStreamUri operations.

The RTSP URL returned by the device may contain a specific port number. If no port is specified, the default port for RTSP is used.

Finding the RTSP Port via an NVR or VMS

Some recording devices and video management software allow the camera's connection parameters to be viewed.

The RTSP port can be checked in the camera management, device properties, or proprietary protocol configuration menus.

Reviewing the Manufacturer's Technical Documentation

The default RTSP port number can be found in the camera model's technical manual, network configuration guide, and API documentation.

Is Port 554 Open? How to Check

Various network testing tools can be used to check whether an IP camera's RTSP service port is reachable.

These tests should be performed only on devices and networks for which you have access authorization.

Testing Port 554 with Windows PowerShell

Open the Windows PowerShell application and run the following command:

Test-NetConnection 192.168.1.100 -Port 554

One of the following values will be displayed as the test result:

Test result

Description

TcpTestSucceeded: True

A connection to TCP port 554 can be established.

TcpTestSucceeded: False

A connection to TCP port 554 cannot be established.

A successful port test alone does not guarantee that the RTSP session or camera video is working.

Testing the RTSP Port on Linux and macOS

On supported versions of Netcat, the following command can be used:

nc -vz 192.168.1.100 554

This checks whether a TCP connection can be established.

Testing Port 554 with VLC Media Player

VLC Media Player can be used to test not only RTSP port access but also an actual media session.

In VLC, select Open Network Stream from the Media menu and enter the camera's RTSP URL.

For example:

rtsp://192.168.1.100:554/Streaming/Channels/101

After entering the required credentials, check the live video.

Official software address: VLC Media Player

Testing an RTSP Connection with FFprobe

ffprobe -rtsp_transport tcp -show_streams "rtsp://192.168.1.100:554/Streaming/Channels/101"

In addition to the media connection, FFprobe can be used to inspect the video codec format, resolution, audio format, and other stream properties.

Comparing RTSP Testing Methods

Test method

Port access

RTSP session

Media stream

Codec information

Ping

No

No

No

No

PowerShell

Yes

No

No

No

Netcat

Yes

No

No

No

VLC

Yes

Yes

Yes

Yes

FFprobe

Yes

Yes

Yes

Yes

A successful ping test does not show that the RTSP port is open. Likewise, a successful TCP port test does not guarantee that the correct media stream can be received.

How to Change the RTSP Port

On some IP camera models, the default port 554 can be changed to a different port number.

The general procedure is as follows:

  1. Sign in to the camera's management interface.

  2. Open the Network or Service Ports menu.

  3. Find the RTSP Port setting.

  4. Choose a port number supported by the device and available on the network.

  5. Save the new port number.

  6. Restart the relevant service or camera if required by the device.

  7. Update the NVR and VMS connection settings.

  8. Check the firewall rules.

  9. Test the new RTSP address.

  10. Verify live video and recording continuity.

For example, if the RTSP port is changed from 554 to 8554, the connection address is updated as follows:

Old RTSP address:

rtsp://192.168.1.100:554/Streaming/Channels/101

New RTSP address:

rtsp://192.168.1.100:8554/Streaming/Channels/101

After a port change, NVR, VMS, and video analytics software using the old connection address may lose connectivity.

Therefore, in professional security systems, port changes should be made as part of scheduled maintenance.

Can All IP Cameras on the Same Network Use Port 554?

Yes. Many cameras with different IP addresses on the same local network can use the same RTSP port.

Camera

IP address

RTSP port

Camera 1

192.168.1.101

554

Camera 2

192.168.1.102

554

Camera 3

192.168.1.103

554

Camera 4

192.168.1.104

554

Camera 5

192.168.1.105

554

Because the cameras have different IP addresses, no port conflict occurs.

It is not necessary to assign a different RTSP port to each camera.

A port conflict typically occurs when multiple services attempt to use the same connection port on the same IP address and transport protocol.

Differences Between RTSP, ONVIF, HTTP, and HTTPS Ports

Different network services in IP camera systems perform different functions.

Service

Common port

Purpose

RTSP

TCP 554

Media stream control

RTSP-ALT

TCP 8554

Alternative RTSP service

RTSPS

TCP 322

RTSP control over TLS

HTTP

TCP 80

Web management interface

HTTPS

TCP 443

Secure web management interface

WS-Discovery

UDP 3702

ONVIF device discovery

ONVIF services

Device-dependent

Camera integration and management

Hikvision SDK

Typically TCP 8000

Manufacturer-specific communication

Dahua TCP service

Typically TCP 37777

Manufacturer-specific communication

NTP

Typically UDP 123

Time synchronization

DNS

TCP/UDP 53

Domain name resolution

There is no single fixed management port used by all manufacturers for ONVIF. ONVIF service addresses may vary according to the device's network configuration.

Being able to access a camera's web interface does not mean that its RTSP service is also accessible.

Why Is There No Video Even Though Port 554 Is Open?

In IP camera systems, it is possible to establish a connection to TCP port 554 but still be unable to receive live video.

Possible issue

Solution

Incorrect RTSP stream path

Check the manufacturer's documentation or ONVIF media profiles.

Incorrect username or password

Check the authentication credentials.

Insufficient user permissions

Check live-view permissions.

H.265 codec incompatibility

Check the codec formats supported by the client.

Substream disabled

Check the Sub Stream configuration.

UDP media traffic blocked

Check the firewall rules or test TCP Interleaved.

High resolution

Check the client's decoding capacity.

High bitrate

Check network and device resources.

Smart Codec incompatibility

Test using a standard codec configuration.

Concurrent connection limit

Check the camera's connection capacity.

Session timeout

Check keep-alive and network timeout settings.

RTSP Connection Error Codes and Their Meanings

Error codes returned by the server in RTSP connections help diagnose faults.

Error code

Description

Possible cause

400

Bad Request

Invalid or malformed request

401

Unauthorized

Authentication required or failed

403

Forbidden

Access permission not granted

404

Not Found

Media resource not found

453

Not Enough Bandwidth

Insufficient bandwidth

454

Session Not Found

Invalid media session

455

Method Not Valid in This State

Command not valid for the session state

461

Unsupported Transport

Unsupported media transport method

500

Internal Server Error

Server-side error

503

Service Unavailable

Service temporarily unavailable

Connection errors such as Connection Refused and Connection Timeout are not always status codes generated by the RTSP protocol. They may occur at the network or TCP connection level.

Is Port 554 Secure?

Using port 554 does not in itself constitute a security vulnerability. However, making the RTSP service accessible from unauthorized networks or directly over the internet can pose a cybersecurity risk.

Encryption of media content is not automatically guaranteed in standard RTSP connections.

Potential security risks include unauthorized access to live video, password-guessing attacks, interception of unencrypted media traffic, exhaustion of device resources, and vulnerabilities in outdated firmware versions.

Network access in IP camera systems should be restricted to authorized users and necessary clients.

Is It Safe to Expose Port 554 to the Internet?

Directly forwarding the RTSP port to the internet is not recommended in professional electronic security systems.

Port forwarding, also known as Port Forwarding, can provide access to a camera service on a local network from external networks. However, this method can expand the camera's attack surface.

Changing the port number from 554 to 8554 or another number does not, by itself, provide security.

For secure remote access, use a VPN, an authorized VMS infrastructure, network segmentation, and supported encrypted media technologies.

How Can the RTSP Port Be Secured?

Security measure

Benefit provided

VPN

Authorized remote connection

VLAN

Separating the camera network from other networks

Firewall

Blocking unauthorized network connections

ACL

Granting access permission to specific clients

Strong password

Reducing the risk of unauthorized access

Separate viewing account

Restricting user permissions

RTSPS

Protecting RTSP control communications with TLS

SRTP

Cryptographically protecting RTP media packets

Firmware update

Helping remediate known security vulnerabilities

Log management

Monitoring connections and security events

UPnP control

Preventing unwanted automatic port forwarding

Disabling unused services

Reducing the attack surface

In professional security projects, it is recommended to allow access to the RTSP service only for NVRs, VMS platforms, and video analytics servers that require it.

What Is Port 322? Differences Between RTSP and RTSPS

Port 322 is the default RTSPS port designated for carrying RTSP control communications over TLS.

Feature

RTSP

RTSPS

URL prefix

rtsp://

rtsps://

Default TCP port

554

322

Control communication encryption

No

TLS

Certificate verification

Not used

Required

Media encryption

Depends on the transport method

Depends on the transport method

IP camera support

Common

Depends on the device model

Example RTSPS address:

rtsps://192.168.1.100:322/video

While RTSPS protects the control channel, appropriate media security mechanisms are also required to encrypt RTP packets carried over separate UDP channels.

Consider carrying RTP and RTCP packets over the same TLS-protected connection or using supported SRTP mechanisms.

What Is Port 8554? How Does It Differ from Port 554?

Port 8554 is registered by IANA as an alternative RTSP port.

It may be used particularly with software-based media servers, RTSP Gateway applications, and custom video distribution infrastructures.

Feature

Port 554

Port 8554

RTSP use

Standard

Alternative

IANA registration

Yes

Yes

IP camera use

Common

Depends on configuration

Media server use

Common

Common alternative

Difference in image quality

None

None

Difference in inherent latency

None

None

Automatic encryption

None

None

There is no difference in image quality or bandwidth attributable solely to the port number between ports 554 and 8554.

Does the RTSP Port Affect Image Quality?

No. Whether the RTSP service port is 554, 8554, or another number does not directly affect image quality.

The main factors determining image quality are camera resolution, lens characteristics, sensor performance, H.264 or H.265 compression format, bit rate, frame rate, and lighting conditions.

However, packet loss on the network, insufficient bandwidth, and transport methods can affect the continuity of video transmission and the viewing experience.

How Much Data Is Transferred Through Port 554?

Port 554 has no fixed data-transfer capacity of its own.

Total bandwidth should be calculated based on the bit rates of the relevant camera streams and the number of simultaneous connections.

Total video bandwidth = Number of cameras × Average video bit rate

Number of cameras

2 Mbps

4 Mbps

8 Mbps

4

8 Mbps

16 Mbps

32 Mbps

8

16 Mbps

32 Mbps

64 Mbps

16

32 Mbps

64 Mbps

128 Mbps

32

64 Mbps

128 Mbps

256 Mbps

64

128 Mbps

256 Mbps

512 Mbps

128

256 Mbps

512 Mbps

1,024 Mbps

256

512 Mbps

1,024 Mbps

2,048 Mbps

For example, if each of 32 IP cameras produces an average video stream of 4 Mbps, the total video traffic will be 128 Mbps.

With a 25% capacity reserve added, the example planning figure is 160 Mbps.

This calculation assumes a single stream from each camera. Simultaneous unicast connections, audio packets, protocol overhead, and increases in VBR bit rate should be assessed separately.

RTSP Ports and AI-Powered Video Analytics Systems

AI-powered video analytics software can process live footage by connecting to the RTSP services of IP cameras.

Key applications include people counting, store visitor analytics, aisle visitor analytics, checkout queue analysis, customer wait-time analysis, vehicle counting, license plate recognition, perimeter security, and AI-powered fire detection.

The RTSP service port must be accessible for a video analytics server to connect to the camera.

However, correct port configuration alone does not ensure analytics accuracy. Camera mounting angle, lens selection, pixel density (PPM), DORI requirements, lighting, image quality, calibration, and site validation are also important.

RTSP Port Checklist for Professional CCTV Systems

Check criterion

Purpose of check

IP address

Correct device connection

RTSP service port

Access to the media service

RTSP protocol version

System compatibility

Main Stream address

High-quality media stream

Sub Stream address

Alternative media stream

TCP/UDP support

Correct transport method

RTP and RTCP ports

Media packet delivery

User permissions

Secure video access

H.264 and H.265 support

Codec compatibility

Camera connection capacity

Simultaneous client management

Network bandwidth

Stable video transmission

VLAN configuration

Network segmentation

Firewall rules

Preventing unauthorized access

VPN infrastructure

Secure remote access

RTSPS support

Secure control communications

VLC connection test

Live video verification

Long-duration recording test

System continuity

Frequently Asked Questions

What is the RTSP port number?

The default port number for the RTSP protocol is 554. Alternatively, 8554 or other ports supported by the device can be used.

What is port 554 used for?

It is used to establish RTSP sessions on IP cameras and media servers, control media streams, and transmit media packets using the appropriate transport method.

Is port 554 TCP or UDP?

IANA has assigned it for both transport protocols. TCP is used for modern RTSP control communications, while RTP media packets can be carried over TCP or UDP.

What happens if port 554 is closed?

If the camera provides its RTSP service on port 554, clients cannot establish the relevant RTSP connection when they cannot access that port. If the device provides RTSP on a different port, that port can be used.

Can a camera record while port 554 is closed?

Yes. Recording may continue if the NVR uses a different port, a proprietary protocol, or another supported media connection.

Does changing the RTSP port improve image quality?

No. Changing the port number does not improve image quality or inherent connection speed.

Does changing the RTSP port improve security?

Using a non-standard port may reduce the impact of some basic scans. However, it is no substitute for secure access control, encryption, or authentication.

Can all cameras use the same port 554?

Yes. It is not a problem for cameras to use the same RTSP port if they have different IP addresses.

Does port 554 need to be opened on the modem?

Port forwarding through the modem is generally unnecessary for camera access on the local network. For remote access, use secure methods such as a VPN rather than opening a port directly.

Does the RTSP port work without internet access?

Yes. An internet connection is not required if the camera and client are on the same local network or on private networks that can reach one another.

What is the difference between ports 554 and 8554?

Port 554 is the standard RTSP port, while 8554 is a registered alternative RTSP port. There is no difference in basic protocol functionality attributable to the port number.

What is the difference between ports 554 and 8000?

Port 554 is the RTSP service port. Port 8000 is the default port used on many Hikvision devices for proprietary SDK communications.

Is the ONVIF port the same as the RTSP port?

No. ONVIF services are used for device discovery, management, and integration, while RTSP enables control of the media session.

Is port 554 encrypted?

A standard RTSP connection is not encrypted by default. RTSPS and appropriate media security technologies should be considered for secure control communications.

Why can't an RTSP connection be established even though ping works?

Ping may indicate that the device is reachable at the ICMP level. You should also check that the RTSP port is open, authentication succeeds, and the media service is running.

Conclusion

Port 554 is the standard network service port used to establish and control RTSP media sessions in IP camera systems.

Correct configuration of the RTSP port is highly important in NVR devices, video management software, AI-powered video analytics systems, and centralized security monitoring platforms.

In professional CCTV projects, RTSP port access, media transport method, main and substream configuration, network bandwidth, codec compatibility, and cybersecurity requirements should be considered together.

The accessibility of port 554 is an important step toward successful camera integration. However, reliable, uninterrupted and secure video transmission requires the entire media and network infrastructure to be designed correctly.

Technical Resources and Standards

More on the topics covered in this piece

Cookie preferences

Essential storage supports site features and remembers your choice. Consent-based Google analytics depends on your choice and separate activation. Advanced Mode is off by default; if separately enabled, it may send cookieless signals under denied consent. If activated, Umami measures pageviews independently of cookie choices. Read the Cookie Policy

Google analytics and marketing measurement are currently disabled.

Essential — always active

Session security and remembering your cookie preference.

Usage measurement for pages, searches and sponsor interactions; Google Analytics / Google Tag Manager when configured.

Use of advertising-related cookies. Contextual sponsor placements may still appear without this permission.

Preference for sharing user data with Google advertising services. No such transfer occurs unless separately enabled.

Preference for Google ad personalization, independent of analytics permission.

You can change or withdraw your choices using Cookie preferences in the footer.