Microsoft Teams Ports [Find the Required TCP & UDP Ports]

Written By Shubrato

The ports in Microsoft Teams are just like roads that direct network traffic to a specific destination.

Similarly to the road, there are different types of ports for individual Teams applications and services. And knowing about them is necessary to prepare your business or organization and ensure a good connection with customers.

In this article, I will provide all the TCP and UDP ports used in Microsoft Teams for running certain services.microsoft-teams-ports

So, let’s start.

Check out latest post about Basecamp vs Microsoft Teams.

What Ports are Required for Microsoft Teams?

Microsoft Teams requires the client to open TCP 80, 443, and UDP 3478, 3479, 3480, and 3481 ports to the internet. The TCP ports are necessary to connect web-based Microsoft services, and the UDP ports are essential to transfer audio and video media.

Microsoft web-based services such as Exchange online, SharePoint online, and Teams chat service uses TCP ports. On the other hand, audio and video services use UDP ports for the media flow.

In addition to the port, the Microsoft Teams services use various IP ranges, all categorized into optimize and allow. The following table will show the required IP and Ports for Microsoft Teams.

Here are the IPs and ports required for Microsoft Teams:

CategoryIPPorts
Optimize
Required
13.107.64.0/18, 52.112.0.0/14, 52.122.0.0/15, 2603:1063::/39UDP: 3478, 3479, 3480, 3481
Allow Required*.lync.com, teams.microsoft.com, *.teams.microsoft.com, 13.107.64.0/18, 52.112.0.0/14, 52.122.0.0/15, 52.238.119.141/32, 52.244.160.207/32, 2603:1027::/48, 2603:1037::/48, 2603:1047::/48, 2603:1057::/48, 2603:1063::/39, 2620:1ec:6::/48, 2620:1ec:40::/42TCP: 443, 80

You may also like to read about Microsoft Teams Meeting recording failed to upload to Stream.

Apart from the above IP and ports, Microsoft Teams use ports from 50000-50059 to implement quality of service (QoS). It allows network traffic, which is more sensitive to network delay, to establish a service with the server before less sensitive connections.

Audio, video, and screen-sharing services are part of these ports. The following table will show the range of ports and their dedicated tasks in Microsoft Teams.

Media Traffic TypeProtocolClient source port range
AudioTCP/UDP50000-50019
VideoTCP/UDP50020-50039
Application/Screen SharingTCP/UDP50040-50059

The customers will reach the above endpoints and ports to receive various services in Microsoft Teams.

Businesses and organizations often use the IP and ports for Teams service. You must ensure the ports are allowed in Microsoft Teams through the firewall to establish a connection with the customer.

Why Do Microsoft Teams Need Ports?

Microsoft Teams need ports to ensure the traffic from different sources is reaching the same host. The ports are essential for establishing online-based Microsoft Teams services and setting up connections to transmit audio and video media flow.

The cloud-based Microsoft Teams allows users to chat, make audio & video calls, and use other services in real-time. To establish these features, teams require network connectivity between the user’s device and Microsoft cloud servers.

The ports play a part in setting up the connection. They act as a virtual channel that transfers data between users’ devices and the Teams server.

For different purposes, MS Teams need separate ports. It uses TCP and UDP ports for various tasks depending on their specialties.

Teams use UDP ports 3478 through 3481 for audio & video calls, conferences, and live events. But sometimes, Microsoft Teams also use the TCP 443 port to transfer the audio and video signals.

When a user needs to access the Microsoft SharePoint, Exchange, and Teams chat online, the TCP ports 443 and 80 help to establish the connection.

The ports from 50000 to 50059 help accomplish network-sensitive tasks such as audio & video calls and to share screens. These ports have more priority over the others in terms of task completion.

Microsoft prefers the UDP ports over TCP to transfer media files. UDP ports are more reliable and faster, ensuring proper media quality without losing data while transmitting a file. However, UDP requires a wider range of ports than TCP.

As the TCP ports can retransmit data, it’s more suitable for exchanging online services like SharePoint, Exchange, and Teams chat.

Users with Microsoft 365 plans and Government Community Cloud (GCC) can reach out to the ports to get the Teams service. The ports are vital, and you must allow them through your firewall to provide good service and connection in your business and organization.

Here is our another epic post for can Microsoft Teams replace your phone system?

Frequently Asked Questions

What ports do Microsoft Teams use?

Microsoft Teams use TCP ports 80 & 433, UDP ports 3478, 3479, 3480 & 3481, and TCP/UDP ports 5000-50059 to establish a connection between the user and the Teams server.

Do Skype for business online and Microsoft Teams use the same ports?

Yes, Microsoft Teams and Skype for business use TCP ports 80 & 433 and UDP ports from 3478 through 3481.

Why do Microsoft Teams use port 50000?

Microsoft Teams use TCP/UDP port 50000 to establish connections for network-sensitive services like audio & video calls and screen sharing.

Conclusion

The ports in Microsoft Teams help direct the connection to an individual service. For different features, Teams use distinct ports.

Learning about them is vital for providing satisfactory customer service and avoiding service and call drops during communication.

If you find the article helpful while managing your organization, don’t forget to share it in the comment box below.

Cheers!

About The Author
Shubrato is passionate about technology. From his core, he is a tech geek and can fix any tech-related issues through intensive research. He has an undergrad degree in Computer Science and Engineering. Besides being a tech enthusiast, Shubrato is passionate about capturing time in a frame and loves cycling.

Leave a Comment