One Star

Open Studio: Unable to connect to localhost on the port NNNN

I have a job that reads a large log file (almost 1,000,000) rows.
Most of the time when I try to run it from Open Studio I get the message "Unable to connect to localhost on the port NNNN", and then the job gets stuck and I have to Kill it (See load_error image).
If I keep trying, eventually it connects to a port and the job runs normally (see load_OK image).
Sometimes I keep trying 10 - 15 times until it connects, which is really annoying.
What causes this, and how can it be fixed?
Thank you.
1 REPLY
Moderator

Re: Open Studio: Unable to connect to localhost on the port NNNN

Hi,
Could you please use an output component, such as tfileoutputdelimited to see if this issue repro? I suspect it is port conflict issue.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.