Here are the pinouts for a 9 to 25 pin serial cable

9 PIN D-SUB FEMALE to the Computer.
25 PIN D-SUB MALE to the Serialcable.

9-Pin 25-Pin
Carrier Detect 1 8
Recieve Data 2 3
Transmit Data 3 2
Data Terminal Ready 4 20
System Ground 5 7
Data Set Ready 6 6
Request to Send 7 4
Clear to Send 8 5
Ring Indicator 9 22