I found a solution I might share.
I kept getting Error: nca_connect_server: cannot communicate with host.
I found it alwsays happened after recording a new action.
After some digging I found that a value gets changed in the default.cfg
The value
RelativeURL=/forms/lservlet;jsessionid={NCAJServSessionId}
was getting changed to:
RelativeURL={NCAJServSessionId}
I simply changed this back in the default.cfg and replay worked fine!