It says, you have changed the default stream port from 5004 to 5005.
Then there is the Connection refused error.
The Connection refused error can be caused by a number of things. These include:
- The process does not have the time to pull the connection off the heap (caused normally by CPU running at 100%)
- The process dies and is not there, so the listening port is not present
- The number of listening threads has been used up and there is no thread available to receive the connection
For the last issue, the number of threads available is printed in the DEBUG log just after the TunerHttpHandler log line. An example is provided below:
DEBUG:web_tuner TunerHttpHandler Implementing 6 tuners for PlutoTV
DEBUG:web_handler Now listening for requests. Number of listeners=22
Then, you can go the home page and see the number of active tuners in use. In my case, I would need to use 22 threads before I would get a connection refused.
The threads per tuner is set for each plugin at the plugin level.