TechBuzzPro

Cannot Change Outlook Server Port? Fix It

· 4 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

You cannot change the Outlook server port because the account is set up as an Exchange or Microsoft 365 account, which uses autodiscover and does not expose manual port settings. For POP and IMAP accounts, the port fields are editable under the account's advanced settings. The steps below cover both cases and explain what to do when the fields are greyed out or missing.

What You'll Need

  • Outlook desktop app (new Outlook or classic Outlook) signed in to the account you want to change.
  • The correct incoming and outgoing server names and port numbers from your email provider's help pages.
  • Admin access to the account if it is a work or school account, since some settings are locked by policy.

Step-by-Step

  1. Identify the account type. Open Outlook and go to File > Account Settings > Account Settings. On the Email tab, select your account and read the Type column. If it says Exchange or Microsoft 365, the port is managed automatically and cannot be changed manually. If it says POP/SMTP or IMAP/SMTP, continue to the next step.
  2. Open the advanced settings. With the account selected, click Change. In the window that opens, click More Settings (classic Outlook) or look for Advanced settings (new Outlook). Labels can differ slightly by version, device or region.
  3. Go to the Advanced tab. In the Internet Email Settings dialog, select the Advanced tab. Here you will see fields for incoming server (POP3 or IMAP) and outgoing server (SMTP), each with a port number box.
  4. Enter the correct port numbers. Type the port your provider specifies. Common values are 993 for IMAP with SSL, 995 for POP3 with SSL, 465 for SMTP with SSL, and 587 for SMTP with STARTTLS. Do not guess; use the provider's published settings.
  5. Match the encryption setting to the port. In the same tab, set the encryption drop-down to SSL/TLS or STARTTLS as required. A port and encryption mismatch is the most common reason a change fails.
  6. Save and test. Click OK, then Next and Finish. Outlook will run a test send and receive. If it passes, close the dialogs. If it fails, note the error and check the port and encryption again.
  7. If the fields are greyed out, check policy. For work accounts, an administrator may have locked the settings. Sign in to the account's web portal or contact your IT admin to confirm whether manual port changes are allowed.
  8. For Exchange accounts, use autodiscover. You cannot set a port manually. Instead, remove and re-add the account so Outlook can fetch the correct server settings automatically. Back up any local data first if you are unsure.

Common Mistakes

  • Changing the port but leaving encryption on the old value, which causes a connection failure.
  • Using port 465 with STARTTLS or port 587 with SSL; these combinations usually do not work.
  • Editing the wrong account when multiple accounts are listed in Account Settings.
  • Expecting an Exchange or Microsoft 365 account to show editable port fields; it will not.
  • Typing a server name with a typo, then blaming the port when the test fails.

Tips

  • Write down the original port and encryption values before changing anything so you can revert.
  • Use the provider's official help page rather than a forum post; settings change over time.
  • If you use the new Outlook, some advanced dialogs are hidden; switch to classic Outlook temporarily to access them.
  • After a successful change, send a test email to an external address to confirm outgoing mail works.

Troubleshooting

If the test fails after changing the port, revert to the previous values and confirm the account still works. Then change one setting at a time: port first, then encryption. Check that your network or antivirus is not blocking the new port; some office networks block non-standard ports. If Outlook keeps asking for the password, the server name or port may be wrong, or the account may require an app password. For Exchange accounts, run the account repair by removing and re-adding it, which refreshes autodiscover. If the fields remain greyed out, the setting is controlled by policy and cannot be changed locally.

Frequently Asked Questions

Why are the port fields greyed out?

Either the account is an Exchange or Microsoft 365 type, which manages ports automatically, or an administrator has locked the settings through policy.

Can I change the port for a Microsoft 365 account?

No. Microsoft 365 accounts use autodiscover and do not expose manual port settings in Outlook.

What ports should I use for IMAP and SMTP?

Common values are 993 for IMAP with SSL and 587 for SMTP with STARTTLS, but always confirm with your email provider.

Will changing the port delete my emails?

No. Changing server settings does not delete local data, but removing and re-adding an account can remove locally stored items if they are not synced.

Why does Outlook still fail after I change the port?

The encryption setting likely does not match the port, or the server name is incorrect. Check both against the provider's instructions.

Can I change the port on Outlook for Mac?

Yes, for POP and IMAP accounts under Tools > Accounts, then Advanced. Exchange accounts do not offer manual port settings.