Skip to main content

Ant Media Server (Version 2.5.3) – Ubuntu 20.04

Overview

Category: Media
Supported OS: Ubuntu 20.04

Ant Media Server Enterprise Edition is a real-time streaming platform offering ultra-low latency live streaming with WebRTC, adaptive bitrate, auto-scaling, and support for RTMP, MP4, HLS, RTSP, and more.


Software Included

  • Ant Media Community Edition: 2.5.3

Getting Started After Deployment

1. Firewall Configuration

Allow only the following ports:

  • SSH: TCP 22 (rate limited)
  • HTTP: TCP 5080
  • HTTPS: TCP 5443
  • SSL/HTTP: TCP 80
  • RTMP: TCP 1935
  • SRT: UDP 4200
  • WebRTC: UDP 50000-60000 (default in v2.4.3+)
  • Cluster Mode Internal: TCP 5000 (open only in cluster mode, not public)

2. Deployment Message

During deployment, you will be logged out and see the following message:

Please wait until the installation is completed….
Connection to $IPADDRESS closed.

Do not log in for at least 2 minutes after the instance is created to allow the setup to complete.


3. First Login Steps

  • Log in as the ubuntu user (using the password or SSH key you set during creation).
  • Switch to the root user without a password:
sudo su -

4. Accessing Ant Media Server

  • Access the AMS web interface at:
http://$IPADDRESS:5080

and set up the first admin account.

  • To use the web interface at the default HTTP/HTTPS ports (80/443), configure port forwarding from 5080→80 and 5443→443.

  • For full setup instructions, SSL configuration, OBS streaming, and more, refer to the Ant Media Server Documentation.


5. Notes

  • Open only the required ports for your use case.
  • For cluster mode, TCP 5000 must be open on the internal network only.
  • The UDP 50000-60000 range is required for WebRTC streaming.
  • Always refer to the latest AMS documentation for advanced configurations.