# How does port forwarding work for the Restreamer?

## What is port forwarding?

Port forwarding allows remote computers (e.g., computers on the Internet) to connect to a specific computer or service within a private local area network (LAN). A public IP must be available for the Restreamer's IP to be accessible from "outside" after installation.

## What ports are needed for the Restreamer?

Open ports for HTTP and HTTPS are required. We recommend using HTTPS on the website.

| What  | Router (external port) | Restreamer (internal port) | Optional |
| ----- | ---------------------- | -------------------------- | -------- |
| HTTP  | 80/tcp                 | 8080/tcp                   |          |
| HTTPS | 443/tcp                | 8181/tcp                   | x        |
| RTMP  | 1935/tcp               | 1935/tcp                   | x        |
| RTMPS | 1936/tcp               | 1936/tcp                   | x        |
| SRT   | 6000/udp               | 6000/udp                   | x        |

{% hint style="info" %}
RTMPS can be activated in addition to HTTPS!
{% endhint %}

{% hint style="info" %}
To use live streams/players/publication sites on the Internet, including Let's Encrypt (automatic HTTPS certification function), the port forwarders for HTTP and HTTPS are required.
{% endhint %}

## Check port forwarding

Various free web services are available on the Internet for testing to check whether the forwarding is active without errors.

{% embed url="<https://portchecker.co>" %}
**External link:** Check public ports
{% endembed %}

## Learn more

{% content-ref url="how-can-i-use-https-with-lets-encrypt" %}
[how-can-i-use-https-with-lets-encrypt](https://docs.datarhei.com/restreamer/knowledge-base/user-guides/how-can-i-use-https-with-lets-encrypt)
{% endcontent-ref %}

{% content-ref url=".." %}
[..](https://docs.datarhei.com/restreamer/knowledge-base)
{% endcontent-ref %}
