all groups > dotnet remoting > june 2005 >
You're in the

dotnet remoting

group:

Remoting : Connection over internet


Remoting : Connection over internet Venkat
6/29/2005 3:50:40 AM
dotnet remoting:
We are implementing Remoting with an Http Channel.

We are running a Windows Client Application which accesses remote
objects hosted in IIS.

This Server is accessible over the local network using a local IP as
well as over the internet using an external real IP.

When accessed over the intranet, the application works fine, but when
connected to the internet it throws an error.
I have increased the timeout property in IIS to 5000, but it doesn't
help.

Any help would be highly appreciated.Given below is the trace of
Exception.


System.Net.WebException: The underlying connection was closed: Unable
to connect to the remote server.

Server stack trace:
at System.Net.HttpWebRequest.CheckFinalStatus()
at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult
asyncResult)
at System.Net.HttpWebRequest.GetRequestStream()
at
System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessAndSend(IMessage
msg, ITransportHeaders headers, Stream inputStream)
at
System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessMessage(IMessage
msg, ITransportHeaders requestHeaders, Stream requestStream,
ITransportHeaders& responseHeaders, Stream& responseStream)
at
System.Runtime.Remoting.Channels.SoapClientFormatterSink.SyncProcessMessage(IMessage
msg)

Exception rethrown at [0]:
at
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg)
at
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)
at .......................
Re: Remoting : Connection over internet Shardool Karnik
6/29/2005 9:47:40 AM
try using a TCP connection ..... it worked for me ...

[quoted text, click to view]
System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessAndSend
(IMessage
[quoted text, click to view]
System.Runtime.Remoting.Channels.Http.HttpClientTransportSink.ProcessMessage
(IMessage
[quoted text, click to view]
System.Runtime.Remoting.Channels.SoapClientFormatterSink.SyncProcessMessage(
IMessage
[quoted text, click to view]

AddThis Social Bookmark Button