Office 365 Port Requirements

As you know that you can open all ports for any application. Therefore you need to know what needs to be opened.

The following table shows us that which port Office 365 uses. You don’t need to open more than these ports.


Protocol /port Applications
TCP 443 AD FS (federation server role)

AD FS (proxy server role)

Office 365 portal

Office 365 My Company Portal

Outlook 2010 and Office Outlook 2007

Microsoft Entourage 2008 for Mac Exchange Web Services/Outlook for Mac 2011

Outlook Web App

SharePoint Online

Lync client (communication to Lync Online from on-premises Lync Server 2013)

TCP 25 Mail routing
TCP 587* Simple Mail Transfer Protocol (SMTP) relay
TCP 143/993 Simple IMAP4 migration tool
TCP 995** POP3
TCP 80 and 443* Azure Active Directory Sync tool

Simple Exchange Migration Tool

Simple IMAP Migration Tool

Staged Exchange Migration Tool

Exchange Management Console

Exchange Management Shell

Office 365 ProPlus

PSOM/TLS 443 Lync Online (outbound data sharing sessions)
STUN/TCP 443 Lync Online (outbound audio, video, and application sharing sessions)
STUN/UDP 3478 Lync Online (outbound audio and video sessions)
TCP 5223 Lync mobile client push notifications




Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at

Up ↑

%d bloggers like this: