So, what problems have you encountered?
The lengths of the cables are all the same, but the chips inside them may not be identical. Some chips require no drivers on macOS, while others require you to install drivers.
If you are unable to connect or cannot find the port, it may be because the driver is not installed. You can contact a serial cable vendor and ask for one. If the vendor says they do not support Macs or do not have a Mac version, you need to determine which chip (such as PL2303, CH340) it uses. Then, in your Mac system information, find the USB device ID (e.g., 067B:2303), and then search for the model number on a search engine and download the driver.