I have tried that cable on its own and it has not been working.
In the above comment when you said adapter did you mean this one
https://www.amazon.com/DTECH-Straight-Through-Serial-Female/dp/B07B4VXNLS/
or this thing
https://www.amazon.com/StarTech-com-RS232-Serial-Modem-Adapter/dp/B000DZH4V0/
And use this cable I already have to plug into adapter https://www.amazon.com/gp/product/B01JWD8L74/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1
Like this?