2014-07-01, 05:47 PM
I am trying to get web streaming to work. When I click play (on the local machine) I receive the error below. Of course it does not work remotely either. I can how view any channel live on both the local PC and a remote PC. Any suggestions would be great.
Thanks
No connection could be made because the target machine actively refused it 127.0.0.1:8080
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:8080
Source Error:
Line 195: }
Line 196: string result = string.Empty;
Line 197: using (HttpWebResponse response = (HttpWebResponse)request.GetResponse())
Line 198: {
Line 199: using (Stream responseStream = response.GetResponseStream())
Source File: c:\Users\Public\NPVR\web\App_Code\Classes\StreamerPost.cs Line: 197
Stack Trace:
[SocketException (0x274d): No connection could be made because the target machine actively refused it 127.0.0.1:8080]
System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) +361
System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception) +435
[WebException: Unable to connect to the remote server]
System.Net.HttpWebRequest.GetResponse() +1124
N_EWA.classes.StreamerPost.PostData(String url, String postData) in c:\Users\Public\NPVR\web\App_Code\Classes\StreamerPost.cs:197
N_EWA.classes.StreamerPost.Post() in c:\Users\Public\NPVR\web\App_Code\Classes\StreamerPost.cs:132
N_EWA.Player2.playStream(Object sender, EventArgs e) in c:\Users\Public\NPVR\web\public\Player2.aspx.cs:1218
N_EWA.Player2.Page_Load(Object sender, EventArgs e) in c:\Users\Public\NPVR\web\public\Player2.aspx.cs:69
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +85
System.Web.UI.Control.OnLoad(EventArgs e) +61
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2625
Thanks
No connection could be made because the target machine actively refused it 127.0.0.1:8080
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:8080
Source Error:
Line 195: }
Line 196: string result = string.Empty;
Line 197: using (HttpWebResponse response = (HttpWebResponse)request.GetResponse())
Line 198: {
Line 199: using (Stream responseStream = response.GetResponseStream())
Source File: c:\Users\Public\NPVR\web\App_Code\Classes\StreamerPost.cs Line: 197
Stack Trace:
[SocketException (0x274d): No connection could be made because the target machine actively refused it 127.0.0.1:8080]
System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) +361
System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception) +435
[WebException: Unable to connect to the remote server]
System.Net.HttpWebRequest.GetResponse() +1124
N_EWA.classes.StreamerPost.PostData(String url, String postData) in c:\Users\Public\NPVR\web\App_Code\Classes\StreamerPost.cs:197
N_EWA.classes.StreamerPost.Post() in c:\Users\Public\NPVR\web\App_Code\Classes\StreamerPost.cs:132
N_EWA.Player2.playStream(Object sender, EventArgs e) in c:\Users\Public\NPVR\web\public\Player2.aspx.cs:1218
N_EWA.Player2.Page_Load(Object sender, EventArgs e) in c:\Users\Public\NPVR\web\public\Player2.aspx.cs:69
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +85
System.Web.UI.Control.OnLoad(EventArgs e) +61
System.Web.UI.Control.LoadRecursive() +98
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2625