IP Camera Port Forwarding: Port Numbers, Setup, and Remote Access
IP camera port forwarding explained: camera ports by brand, router setup, RTSP remote viewing, and how to reach a camera behind CGNAT without opening ports.
Want to see whatâs going on with your camera from your phone when you are not at home? IP Camera Port Forwarding is an old school way of doing this and it still works for many of us with Cable/DSL/Fiber connections. However, it doesnât work on standard Starlink plans and/or those using 5G Home Internet as well as just about everything behind Carrier Grade NAT (CGNAT) unless a tunnel is created to get around that.
IP camera port forwarding: Quick Overview
IP Camera Port Forwarding refers to how you tell your Router to send incoming internet data to a specific local (camera) IP Address. This will allow you to view the camera via Internet Browser, VLC Player, Mobile App etc., using the Cameraâs Web Interface URL. The most common ports used by cameras are Port 80/443 (HTTP/HTTPS), Port 554 (RTSP Stream), and in many cases Brand-Specific App Ports like Port 8000 with Hikvision Cameras and Port 37777 with Dahua Cameras.
Find the IP address of your camera, reserve it, create a forwarding rule, and then test that you can see it from outside your network. Continue reading for help on identifying port numbers per manufacturer and information on router steps with examples as well as what to do when port forwarding canât work.
Common IP camera port numbers
These are the camera ports youâll run into most often:
| Port | Protocol | Used for |
|---|---|---|
| 80 | TCP | Web interface (HTTP) |
| 443 | TCP | Web interface (HTTPS) |
| 554 | TCP | RTSP video stream |
| 8000 | TCP | Hikvision SDK, apps |
| 37777 | TCP | Dahua, Amcrest apps |
| 9000 | TCP | Reolink apps |
| 8080 | TCP | Alternate web port |
CCTV camera ports by brand
| Brand | Web interface | RTSP | App port |
|---|---|---|---|
| Hikvision | 80 / 443 | 554 | 8000 |
| Dahua | 80 / 443 | 554 | 37777 |
| Reolink | 80 / 443 | 554 | 9000 |
| Amcrest | 80 / 443 | 554 | 37777 |
| TP-Link Tapo | None | 554 | Cloud only |
| Axis | 80 / 443 | 554 | None |
All manufacturers name their application port differently. Hikvision calls 8000 the server port, Dahua and Amcrest call 37777 the TCP port, and Reolink calls 9000 the media port. Tapo cameras do not have a local Webapp, but use the TP-Link cloud for remote viewing. Depending on the model, some Reolink cameras ship with RTSP and HTTP disabled by default, so do make sure to check the cameraâs network settings first.

What is IP camera port forwarding?
Your router assigns private IP address (such as 192.168.1.64) to devices connected to your home network, and shows one public IP to the web. When the connection is coming from outside, the router will drop it since it doesnât know which device should receive it. A port forwarding rule is the answer to that question: traffic for port 554 on your public IP address is forwarded to port 554 on 192.168.1.64.
The problem is that itâs open to anyone who finds the open port, and the cameraâs login is the only thing between the camera and the web.
Does an IP camera need port forwarding?
Not always. The bulk of consumer cameras from Reolink, Tapo, Dahua and Hikvision (Hik-Connect) transmit live through either the manufacturerâs cloud or P2P (peer-to-peer) service. The camera connects out to the vendor so that the mobile app doesnât open anything on your router.
For direct access, port forwarding or a tunnel is required: the web interface in a browser, the RTSP stream in VLC, Blue Iris, Frigate or Home Assistant, or viewing without the vendorâs cloud. It is not required for local camera access as devices on the same network can reach each other.
What port should I use for an IP camera?
The ports where you can access the cameras are based on how youâll be watching:
- Mobile app or desktop client: the brandâs app port (8000, 37777 or 9000).
- VLC or recording software: RTSP port 554.
- Browser: Port 443 (when HTTPS is supported by the camera) otherwise port 80.
Only forward what youâll use. If you only view in VLC, then forward 554 and close the web interface as login pages are what automated scanners target first.
You may also set up an external port to the cameraâs port (554 to 10554), which cuts down on drive-by scans, but will not improve the cameraâs security.
How do I forward my IP camera port?
This process is used for routers that have Port Forwarding, Virtual Server or NAT. In this case, the cameraâs local address is 192.168.1.64.
Step 1: Find the cameraâs IP address
Start by checking for camera access locally. The cameraâs IP will appear in its mobile application, in the list of connected devices on the router or by a simple scan from a computer on the same WiFi network:
arp -a
This displays the devices that your computer has recently communicated with, including information on their IP and MAC addresses. Compare the MAC address with the cameraâs label.
nmap -p 80,554,8000 192.168.1.0/24
This scans the 192.168.1.x range for the web, RTSP, and Hikvision server ports. Anything reporting
554/tcp open rtsp after the scan is mostly a camera or NVR. Connect to your home network and go to
http://192.168.1.64 and see if the camera is responding.
Step 2: Give the camera a fixed IP address
Forwarding rules point to an IP address; if the camera gets a new one after a reboot, the rule stops working. Create a DHCP reservation in the router so that the cameraâs MAC address is 192.168.1.64, or set a static IP on the camera outside of the routerâs range for DHCP.
Step 3: Log in to your router
Open the routerâs address in a browser, typically 192.168.1.1 or 192.168.0.1, and sign in with admin password. For routers that are managed through apps like eero and Google Nest Wifi, port forwarding is done within the app.
Step 4: Add the port forwarding rule
Create one rule per port. So for a Hikvision camera you only watch in VLC, thatâs one rule:
| Field | Value |
|---|---|
| Service name | Camera RTSP |
| External port | 554 |
| Internal IP | 192.168.1.64 |
| Internal port | 554 |
| Protocol | TCP |
Save the rule, and reboot the router if it asks.

Step 5: Test from outside your network
Testing from your own Wi-Fi network can give false readings, since many routers donât support NAT loopback (they wonât send traffic aimed at their own public IP back into the network). Look up your public IP, connect a laptop to your phone hotspot, and run:
nc -zv <public-ip> 554
This attempts to open a TCP connection to port 554 on your public IP. If the rule works, it will display a âsucceededâ message; if it doesnât, the connection times out or is refused.
An online open-port checker shows the same output without a terminal.

Example: A Hikvision NVR on a home router
For example, a Hikvision NVR recording four cameras sits at 192.168.1.64 on a home router. The client (iVMS-4200) on a work laptop has to have access to live view and the RTSP feed via VLC. Two rules:
| External port | Forwards to | Used by |
|---|---|---|
| 8000 | 192.168.1.64:8000 | iVMS-4200 client |
| 554 | 192.168.1.64:554 | VLC (RTSP) |
Port 80 isnât forwarded, so the NVR admin pages are never visible to the internet.
How to access your home camera from the internet
There are three ways to watch once the port test passes.
Access the IP camera from a browser
To access the camera with its IP address from outside, forward port 443 (or 80) and open
https://<public-ip> in a browser. Expect a certificate warning, since most cameras use self-signed
certificates. Use RTSP or the app when the settings load but live video is black. This is because
the interface may use a different port for video.
Watch the stream over RTSP port 554
RTSP is the most reliable method of remotely viewing a camera as most players and recorders support it. Test with ffplay:
ffplay rtsp://user:pass@192.168.1.64:554/Streaming/Channels/101
This will play the main stream from channel 1 of a Hikvision camera or NVR. From outside your network, use the same URL with your public IP instead of your local address.
The VLC equivalent:
vlc rtsp://user:pass@192.168.1.64:554/Streaming/Channels/101
This opens the same stream in VLC. In the desktop app, paste the URL into Media > Open Network Stream instead.

Other brands use different paths: /Preview_01_main on Reolink, /stream1 on Tapo, and
/cam/realmonitor?channel=1&subtype=0 on Dahua and Amcrest.
If the player connects but the video stays black, force RTSP over TCP (-rtsp_transport tcp in
ffplay, --rtsp-tcp in VLC). By default, the video itself often travels over separate UDP ports
that a single TCP 554 rule or tunnel doesnât carry.
Use the cameraâs mobile app
Most brand apps connect via their own cloud or directly over IP address. Add a device by IP or domain using your public IP and app port from the table above.
Example: A shop owner checking CCTV from a phone
A small company has a four-camera Dahua system and the owner monitors the till camera remotely from home. For the DMSS app in direct mode, the fibre line will have a public IP and a single rule (TCP 37777 to the NVR) will be sufficient. A Dynamic DNS name provides a name that continues to function when the public IP address changes. A view-only account means if a phone is lost, it canât alter recording settings.
When IP camera port forwarding fails
If the test times out in Step 5 even though the rule is correct, the issue usually sits upstream of your router.
CGNAT
Carrier-grade NAT (CGNAT) is when your ISP provides you with one public IP address for multiple customers, so no public port that belongs to you.
Check the WAN IP on the status page of your router. If it falls between 100.64.0.0 and 100.127.255.255, or doesnât match the IP shown by a âwhatâs my IPâ site, youâre behind CGNAT (or double NAT, below).
Starlink
Residential and Roam plans are based on CGNAT; there is no port forwarding page on the stock starlink router. Priority plans can turn on a public IPv4 address from the account dashboard, but itâs dynamic and requires bypass mode with your own router. These Starlink port forwarding workarounds cover the options in detail.
4G and 5G home internet
The T-Mobile Home Internet is based on CGNAT and also filters inbound IPv6, so there is no port forwarding. Verizon 5G Home has a forwarding setting, but many of the lines are already behind CGNAT, and most of the 4G LTE routers are as well. The T-Mobile Home Internet port forwarding guide goes deeper.
ISP-blocked ports and double NAT
A number of residential Internet service providers (ISPs) block incoming traffic at specific ports, particularly 80. If one port is not working and the other is, change the rule to a higher external port number, like 8080 or 10554.
The other common cause is Double NAT. If your routerâs WAN IP is a private address (192.168.x.x or 10.x.x.x), your router is behind an ISPâs gateway. Set up the gateway in bridge or passthrough mode, or configure the rule on the gateway directly.
How to access an IP camera without port forwarding
If the router is unable to help, reverse the connection. A local tunnel runs a small client on your network that connects out to LocalXpose, which gives you a public address that forwards to the camera. This holds up on Starlink and 5G home internet, because CGNAT still allows outbound connections. Itâs the same approach youâd use to access your local network remotely, but with one device.
The camera canât run the client, so install LocalXpose on an always-on device on the same network, such as a Raspberry Pi, a NAS, or a spare PC. Log in and start a TCP tunnel to the cameraâs RTSP port:
loclx account login
loclx tunnel tcp --port 4545 --to 192.168.1.64:554
The first command stores your LocalXpose access token. The second opens public TCP port 4545 and
forwards it to the camera, so the stream plays at an address like
rtsp://user:pass@us.loclx.io:4545/Streaming/Channels/101.
A temporary port can change between runs, so reserve an endpoint if you want a fixed address, as shown in the LocalXpose TCP tunnel docs.
For the web interface, an HTTP tunnel adds HTTPS and a login prompt in front of the camera:
loclx tunnel http --to 192.168.1.64:80 --basic-auth user:pass
This publishes the cameraâs web interface at a public HTTPS address. Visitors must pass the basic
auth prompt before they reach the cameraâs own login page. If the camera only serves HTTPS, use
--https-to 192.168.1.64:443 instead of --to (basic auth doesnât apply in that mode).


Example: A Reolink camera on T-Mobile Home Internet
A Reolink camera covers the driveway of a house on T-Mobile Home Internet. The Reolink app works through Reolinkâs cloud, but the owner also records the feed in Blue Iris at a relativeâs place, which needs direct RTSP, and CGNAT rules out port forwarding.
So the owner turns RTSP on under Network > Advanced > Server Settings, runs the TCP tunnel on a
Raspberry Pi pointed at the cameraâs port 554, and adds
rtsp://user:pass@us.loclx.io:4545/Preview_01_main to Blue Iris. A Tapo camera on Starlink works
the same way after you create a camera account under Advanced Settings in the Tapo app and use
/stream1 as the path.
LocalXpose limitations
The free plan comes with 2 HTTP/HTTPS tunnels, which is sufficient for web interface, however, TCP
tunnels required for RTSP are available in the Pro plan. LocalXpose is a hosted service, so video
has to pass through LocalXposeâs servers, and the additional hop can cause a small latency delay.
Another requirement is to have an always-on device on the cameraâs network. HTTP tunnels support
basic auth and IP whitelisting, while TCP tunnels support IP whitelisting only
(--ip-whitelist <your-ip>). Without a whitelist, a TCP endpoint is open to anyone who finds the
address, which is why the cameraâs own password matters most there.
If your camera sits behind CGNAT, LocalXposeâs tunneling service gets it online without router changes. Create a free account, start with an HTTP tunnel to the web interface, and add a TCP tunnel on Pro when you need RTSP.
IP camera security checklist
Whichever path you take, your habits matter more than the method:
- Change default admin password; create a view only account for regular viewing.
- Update camera, NVR and router firmware.
- Do not expose the admin web interface to the internet. Only forward RTSP or the app port or have the web interface behind a tunnel with a login.
- If the web interface has to be accessible use HTTPS (443) instead of HTTP.
- Switch off UPnP on the router as this prevents cameras from opening ports on their own.
- Avoid running services that you do not need, like Telnet or FTP, and check any ports that are left open with nmap periodically.
FAQ
What is the CCTV camera port number?
There is no single universal number. The web interface is typically 80 or 443, and the RTSP port is usually 554. Brand-specific app ports include: 8000 for Hikvision, 37777 for Dahua and Amcrest, and 9000 for Reolink.
Is it safe to open camera ports?
Itâs reasonably safe if opened as minimally as possible: One port, strong password, current firmware and no exposed admin pages. However, TP-Link says RTSP and ONVIF are not recommended for long-term exposure on a public IP and recommends an encrypted VPN instead, so the safest default is a VPN or tunnel.
How do I remotely view security cameras using the internet?
If the connection is with a public IP, forward the app port or the RTSP port 554 and then connect to app or VLC. Use the vendorâs cloud app or a VPN (WireGuard or Tailscale) or a tunnel behind CGNAT. With several cameras, point everything at the NVR, so you only forward or tunnel one device.
Why canât I reach my camera even though the port is forwarded?
Common causes are testing from inside your network, CGNAT and a camera IP that changed after a camera or router restart. Test over mobile data, verify routerâs WAN IP and check DHCP reservations.
Conclusion
Port-forwarding to the IP camera is possible if the connection has a public IP: Reserve the cameraâs IP address and forward only the port your viewer needs. Test port forwarding over mobile data.
If you are on Starlink, 5G home internet or anything else behind CGNAT, you reach the same destination with an outbound tunnel without having to touch the router. Regardless, a secure password and up-to-date firmware will provide more security for your camera than any port choice.