HighTechTalks DotNet Forums  

The underlying connection was closed: Unable to connect to the remote server

Dotnet Framework (Remoting) microsoft.public.dotnet.framework.remoting


Discuss The underlying connection was closed: Unable to connect to the remote server in the Dotnet Framework (Remoting) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Eric Friedlingstein \(Synapsis\)
 
Posts: n/a

Default The underlying connection was closed: Unable to connect to the remote server - 09-14-2006 , 10:25 AM






Hi !

- I have a winform application connecting to a remote object hosted in iis
6. I used a 'soap' formatter.
- My IIS is reacheable from the internet on an address like
http://www.myserver.com/myserver/myobject.soap
- There is no proxy.
- There is no firewall and the IIS box is part of a lan with port 80
forwared to it's address.
- The windows firewall is turned off on my machine for testing.
- This application uses dotnet 1.1.

When I use my winform application from a machine on the LAN (192.169.1.4)
connecting to my remote server
http://www.myserver.com/myserver/myobject.soap it works fine. (and when I
ping www.myserver.com from this machine on the LAN it returns the public IP
address).

When I use the same application from the same machine out of the LAN, from
the internet, I got: "The underlying connection was closed: Unable to
connect to the remote server". This message comes after 20-30 seconds. I
tried tcptrace to check what was going on, but it wasn't helpful.

- I checked IIS logs, didn't found anything.
- IIS has "keep Alive" checked

I don't know where I could search to solve this problem...

Thank you,

Eric
http://www.synapsis-group.com







Reply With Quote
  #2  
Old   
Deepak
 
Posts: n/a

Default RE: The underlying connection was closed: Unable to connect to the rem - 09-28-2006 , 10:57 AM






can you try the following from the same machine out of the LAN?
http://www.myserver.com/myserver/myobject.soap?wsdl
and see the output.
I feel that it is a general network error .
are you able to access any aspx page from the same server outside of the LAN?
Deepak



"Eric Friedlingstein (Synapsis)" wrote:

Quote:
Hi !

- I have a winform application connecting to a remote object hosted in iis
6. I used a 'soap' formatter.
- My IIS is reacheable from the internet on an address like
http://www.myserver.com/myserver/myobject.soap
- There is no proxy.
- There is no firewall and the IIS box is part of a lan with port 80
forwared to it's address.
- The windows firewall is turned off on my machine for testing.
- This application uses dotnet 1.1.

When I use my winform application from a machine on the LAN (192.169.1.4)
connecting to my remote server
http://www.myserver.com/myserver/myobject.soap it works fine. (and when I
ping www.myserver.com from this machine on the LAN it returns the public IP
address).

When I use the same application from the same machine out of the LAN, from
the internet, I got: "The underlying connection was closed: Unable to
connect to the remote server". This message comes after 20-30 seconds. I
tried tcptrace to check what was going on, but it wasn't helpful.

- I checked IIS logs, didn't found anything.
- IIS has "keep Alive" checked

I don't know where I could search to solve this problem...

Thank you,

Eric
http://www.synapsis-group.com








Reply With Quote
  #3  
Old   
Eric Friedlingstein \(Synapsis\)
 
Posts: n/a

Default Re: The underlying connection was closed: Unable to connect to the rem - 09-28-2006 , 11:18 AM



Yes, I got the wsdl without problem.... I can access any aspx pages from the
same server outside of the LAN (there is a public Website on this server).

Eric


"Deepak" <Deepak (AT) discussions (DOT) microsoft.com> wrote

Quote:
can you try the following from the same machine out of the LAN?
http://www.myserver.com/myserver/myobject.soap?wsdl
and see the output.
I feel that it is a general network error .
are you able to access any aspx page from the same server outside of the
LAN?
Deepak



"Eric Friedlingstein (Synapsis)" wrote:

Hi !

- I have a winform application connecting to a remote object hosted in
iis
6. I used a 'soap' formatter.
- My IIS is reacheable from the internet on an address like
http://www.myserver.com/myserver/myobject.soap
- There is no proxy.
- There is no firewall and the IIS box is part of a lan with port 80
forwared to it's address.
- The windows firewall is turned off on my machine for testing.
- This application uses dotnet 1.1.

When I use my winform application from a machine on the LAN (192.169.1.4)
connecting to my remote server
http://www.myserver.com/myserver/myobject.soap it works fine. (and when I
ping www.myserver.com from this machine on the LAN it returns the public
IP
address).

When I use the same application from the same machine out of the LAN,
from
the internet, I got: "The underlying connection was closed: Unable to
connect to the remote server". This message comes after 20-30 seconds. I
tried tcptrace to check what was going on, but it wasn't helpful.

- I checked IIS logs, didn't found anything.
- IIS has "keep Alive" checked

I don't know where I could search to solve this problem...

Thank you,

Eric
http://www.synapsis-group.com










Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.