Speedometer Stopped Working

I don't know what transmission you have, but on both my 904 and 727 transmissions, the cable connects to the driver side of the transmission, near the gear selector shaft.