← Microsoft Interview Insights

Microsoft·Software Engineer·Technical Phone Screen·Intermediate

Intermediate
May 2026

Summary

Interviewed for a security engineer role at Microsoft, got a networking fundamentals question that felt almost too basic but apparently trips people up more than you'd think.

Questions Asked (1)

Q1

What are some common ports used by a typical Windows or Unix workstation?

System DesignTechnical Trade-offs
Author's notes

Rattled off the obvious ones: 22 for SSH, 80 and 443 for HTTP/HTTPS, 3389 for RDP, 445 for SMB.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Start by clarifying that 'common ports' can refer to well-known ports (0-1023) used by standard services, and that both Windows and Unix workstations typically use the same IANA-assigned ports for cross-platform services. Then group ports by function (e.g., web, email, file transfer, remote access, directory services) and mention a few examples per group, noting any platform-specific nuances.

Pro tip: Emphasize that while the port numbers are standardized, the services listening on them may differ by platform (e.g., Windows uses SMB on 445, while Unix uses NFS on 2049). Also, mention that modern workstations often use ephemeral ports for outbound connections, so the 'common' ports are primarily for inbound services.

1. Clarify scope and standards

State that you'll focus on well-known ports (0-1023) assigned by IANA, which are used by both Windows and Unix workstations for common services. Mention that ports 1024-49151 are registered but less commonly used on workstations.

2. Group by service category

Organize your answer into categories such as web, email, file transfer, remote access, and directory services. This shows structured thinking and makes the answer easier to follow.

3. List examples per category

For each category, provide 1-2 well-known ports and the associated protocols (e.g., HTTP on 80, HTTPS on 443, SMTP on 25, SSH on 22, RDP on 3389).

4. Highlight platform differences

Point out ports that are more common on one platform than the other, such as SMB (445) on Windows or NFS (2049) on Unix, and explain why (e.g., native file sharing protocols).

5. Mention security and modern practices

Note that some ports are often blocked or changed for security (e.g., RDP moved from 3389), and that many services now use TLS on standard ports (e.g., HTTPS on 443) or alternative ports (e.g., SSH on 2222).

Key Points to Mention

  • Well-known ports (0-1023) are assigned by IANA and used by both Windows and Unix for standard services.
  • Common web ports: 80 (HTTP), 443 (HTTPS).
  • Email ports: 25 (SMTP), 110 (POP3), 143 (IMAP), 587 (SMTP submission).
  • Remote access: 22 (SSH), 23 (Telnet), 3389 (RDP).
  • File sharing: 445 (SMB) on Windows, 2049 (NFS) on Unix, 21 (FTP).
  • Directory services: 389 (LDAP), 636 (LDAPS).

AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.