<div dir="auto">Hi Ross,<div dir="auto"><br></div><div dir="auto">Thank you very much for your quick response. I am evaluating recovery situations and this situation happened to me. </div><div dir="auto"><br></div><div dir="auto">Best regards, </div><div dir="auto"><br></div><div dir="auto">Flavio </div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em sex., 19 de mai. de 2023 19:30, Ross Finlayson <<a href="mailto:finlayson@live555.com">finlayson@live555.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
> On May 19, 2023, at 3:11 PM, Flavio Alves <<a href="mailto:flavio.alves@vitalintelligencedata.com" target="_blank" rel="noreferrer">flavio.alves@vitalintelligencedata.com</a>> wrote:<br>
> <br>
> Then, I force the end of live555ProxyServer. ffplay does not stop, but stops working, as expected.<br>
> When I start again live555ProxyServer, it starts normally.<br>
> <br>
> Then I stop ffplay and try to connect again. I get this error:<br>
> <br>
> Connection to tcp://<a href="http://192.168.100.123:8554?timeout=0" rel="noreferrer noreferrer" target="_blank">192.168.100.123:8554?timeout=0</a> failed: Connection refused<br>
> rtsp://<a href="http://192.168.100.123:8554/proxyStream" rel="noreferrer noreferrer" target="_blank">192.168.100.123:8554/proxyStream</a>: Connection refused<br>
> <br>
> I need to wait for some time and restart live555ProxyServer to get it running again.<br>
<br>
Yes, this is normal. The TCP socket (in the OS) is in the TIME_WAIT state, and you need to be patient and wait until you can start the server again.<br>
<br>
This web page<br>
<a href="https://serverframework.com/asynchronousevents/2011/01/time-wait-and-its-design-implications-for-protocols-and-scalable-servers.html" rel="noreferrer noreferrer" target="_blank">https://serverframework.com/asynchronousevents/2011/01/time-wait-and-its-design-implications-for-protocols-and-scalable-servers.html</a><br>
explains this in more detail.<br>
<br>
(In normal operation, there should be no need to stop (terminate) the “LIVE555 Proxy Server”.)<br>
<br>
<br>
Ross Finlayson<br>
Live Networks, Inc.<br>
<a href="http://www.live555.com/" rel="noreferrer noreferrer" target="_blank">http://www.live555.com/</a><br>
<br>
<br>
_______________________________________________<br>
live-devel mailing list<br>
<a href="mailto:live-devel@lists.live555.com" target="_blank" rel="noreferrer">live-devel@lists.live555.com</a><br>
<a href="http://lists.live555.com/mailman/listinfo/live-devel" rel="noreferrer noreferrer" target="_blank">http://lists.live555.com/mailman/listinfo/live-devel</a><br>
</blockquote></div>