The DB25 Serial Port Connector →

There is always more background than what you think you know.

The original pinout for RS232 was developed for a 25 pin sub D connector. Since the introduction of the smaller serial port on the IBM-AT, 9 pins RS232 connectors are commonly used.