RS232 connection to a computer

That is the wrong cable configuration. Due to the way the RS232 pinout works you will need a USB to DB9 male cable along with a DB9 F/F gender changer (be sure it’s just a gender changer and not a null modem).