The transport layer (Layer 4 in the OSI model) is responsible for end‑to‑end communication between applications. It provides two main services: TCP (Transmission Control Protocol) and UDP (User Datagram Protocol). Medical engineers must understand the trade‑offs to choose the right protocol for devices, image transfer, or real‑time monitoring.
Properties: Connection setup (three‑way handshake), guaranteed delivery, in‑order packets, flow control, error checking, retransmission.
Use in healthcare: Transferring MRI/CT images (DICOM), accessing electronic health records (EHR), database transactions – where every byte must arrive correctly.
Advantages: Reliability, congestion control, automatic retransmission.
Disadvantages: Higher overhead, latency due to acknowledgements, slower than UDP.
Properties: No connection establishment, no guarantees of delivery or ordering, low overhead, checksum (optional).
Use in healthcare: Real‑time patient vitals streaming, VoIP for telemedicine, live video during surgery – where speed matters more than occasional packet loss.
Advantages: Low latency, minimal overhead, supports broadcast/multicast.
Disadvantages: No reliability; applications must handle lost packets if needed.
Ports identify specific applications or services on a device. They are 16‑bit numbers (0–65535) divided into three ranges:
⚠️ Use secure ports whenever possible. Insecure ports could cause data risk or theft.
| Port | Protocol | Service | Usage |
|---|---|---|---|
| 20/21 | TCP | FTP | File transfer (legacy) |
| 22 | TCP | SSH | Secure remote access |
| 23 | TCP | Telnet | Insecure remote access |
| 25 | TCP | SMTP | Insecure Email sending |
| 53 | TCP/UDP | DNS | Domain name resolution |
| 67 | UDP | DHCP | DHCP Server |
| 68 | UDP | DHCP | DHCP Client |
| 69 | UDP | TFTP | Trivial FTP |
| 80 | TCP | HTTP | Insecure Web browsing |
| 104 | TCP | DICOM | Medical image transfer (standard) |
| 110 | TCP | POP3 | Insecure Email retrieval |
| 123 | UDP | NTP | Time synchronization (critical for logs) |
| 143 | TCP | IMAP | Insecure Email retrieval |
| 443 | TCP | HTTPS | Secure web browsing |
| 465 | TCP | SMTPS | Secure email sending (SMTP over SSL) |
| 587 | TCP | SMTP Submission | SMTP submission port |
| 993 | TCP | IMAPS | Secure IMAP email retrieval |
| 995 | TCP | POP3S | Secure POP3 email retrieval |
| 514 | UDP | Syslog | Logging from medical devices |
| 11112 | TCP | DICOM | Alternative DICOM port |
| 3389 | TCP | RDP | Remote desktop |
When configuring medical devices or firewalls, always verify the required port numbers from the manufacturer.