Rafa - I usualy get this error when there's another sapinst running or a previous installation using sapinst was interrupted, canceled, or terminated unexpectedly. I would recommend checking for any active processes that is/are using that same ports and kill or cancel that process, or if in Windows, end the task(s).
Regards