IIS6 - Conn. Refused on single folder/link

IIS6 - Conn. Refused on single folder/link

am 13.07.2005 05:28:21 von i_robot73

I'm sure this is something I'VE done, but for the life of me I can't
see where/how.

On the website, from LAN OR WAN the main page pops fine.

If I goto my xxx.com/CS link (which USED to work), on the LAN side it's
perfect. On the WAN side I get 'The connection was refused when
attempting to contact xxx.com'

All other folders/links work, just this ONE 1/2 way. Any ideas?
Things to check? etc...

www.xxx.com (fine)
/CS (conn refused)
/Old (fine)
/xxx (fine)

Part of the weblog:

2005-07-12 23:00:33 W3SVC2127081348 192.168.0.50 GET /CS/Default.aspx -
80 - 67.9.20.141
Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-US;+rv:1.7.8)+Ge cko/20050511+Firefox/1.0.4
302 0 0
2005-07-12 23:00:53 W3SVC2127081348 192.168.0.50 GET /CS - 80 -
67.9.20.141
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET +CLR+1.1.4322)
301 0 0
2005-07-12 23:00:53 W3SVC2127081348 192.168.0.50 GET /CS/Default.aspx -
80 - 67.9.20.141
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET +CLR+1.1.4322)
302 0 0
2005-07-12 23:01:46 W3SVC2127081348 192.168.0.50 GET /CS/Default.aspx -
80 - 67.9.20.141
Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-US;+rv:1.7.8)+Ge cko/20050511+Firefox/1.0.4
302 0 0
2005-07-12 23:02:01 W3SVC2127081348 192.168.0.50 GET /CS - 80 -
67.9.20.141
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET +CLR+1.1.4322)
301 0 0
2005-07-12 23:02:01 W3SVC2127081348 192.168.0.50 GET /CS/Default.aspx -
80 - 67.9.20.141
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET +CLR+1.1.4322)
302 0 0

Apprec. any insight!

David D.

Re: IIS6 - Conn. Refused on single folder/link

am 13.07.2005 09:43:00 von Ken Schaefer

For each of these requests, IIS is sending back either a 301 or a 302 HTTP
header. These are "redirect" headers that tell the client that the content
has moved. Now, a request for /cs should result in a redirect, either to
/cs/ or /cs/default.aspx. However, for some reason requests to
/cs/default.aspx are also resulting in a redirect. Are you doing a
Response.Redirect in your code that's causing an endless loop backwards and
forwards?

Otherwise, have you looked in the httperr.log file to see if http.sys is
logging an error before the request gets to IIS?

Cheers
Ken

--
IIS Blog: www.adopenstatic.com/cs/blogs/ken/
Web: www.adopenstatic.com


wrote in message
news:1121225301.386737.170580@g49g2000cwa.googlegroups.com.. .
: I'm sure this is something I'VE done, but for the life of me I can't
: see where/how.
:
: On the website, from LAN OR WAN the main page pops fine.
:
: If I goto my xxx.com/CS link (which USED to work), on the LAN side it's
: perfect. On the WAN side I get 'The connection was refused when
: attempting to contact xxx.com'
:
: All other folders/links work, just this ONE 1/2 way. Any ideas?
: Things to check? etc...
:
: www.xxx.com (fine)
: /CS (conn refused)
: /Old (fine)
: /xxx (fine)
:
: Part of the weblog:
:
: 2005-07-12 23:00:33 W3SVC2127081348 192.168.0.50 GET /CS/Default.aspx -
: 80 - 67.9.20.141
:
Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-US;+rv:1.7.8)+Ge cko/20050511+Firefox/1.0.4
: 302 0 0
: 2005-07-12 23:00:53 W3SVC2127081348 192.168.0.50 GET /CS - 80 -
: 67.9.20.141
: Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET +CLR+1.1.4322)
: 301 0 0
: 2005-07-12 23:00:53 W3SVC2127081348 192.168.0.50 GET /CS/Default.aspx -
: 80 - 67.9.20.141
: Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET +CLR+1.1.4322)
: 302 0 0
: 2005-07-12 23:01:46 W3SVC2127081348 192.168.0.50 GET /CS/Default.aspx -
: 80 - 67.9.20.141
:
Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-US;+rv:1.7.8)+Ge cko/20050511+Firefox/1.0.4
: 302 0 0
: 2005-07-12 23:02:01 W3SVC2127081348 192.168.0.50 GET /CS - 80 -
: 67.9.20.141
: Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET +CLR+1.1.4322)
: 301 0 0
: 2005-07-12 23:02:01 W3SVC2127081348 192.168.0.50 GET /CS/Default.aspx -
: 80 - 67.9.20.141
: Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET +CLR+1.1.4322)
: 302 0 0
:
: Apprec. any insight!
:
: David D.
:

Re: IIS6 - Conn. Refused on single folder/link

am 13.07.2005 13:39:22 von someone

It looks like /CS/default.aspx is sending back a 302 redirection whose
redirection URL is probably bogus in some way (either wrong port or wrong
name/IP) -- so you get "connection refused" (the redirection was telling
your browser to connect to some other host which didn't have a server
listening on the port you specified) -- while on the LAN side it appears to
work.

Thus, I would check how you have written your redirection in
/CS/default.aspx and dump out its values (without redirecting) to see what
you are actually sending as the redirection URL. Also, I would check out any
external DNS resolution issues that may prevent the redirection URL from
functioning/resolving correctly.

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
wrote in message
news:1121225301.386737.170580@g49g2000cwa.googlegroups.com.. .
I'm sure this is something I'VE done, but for the life of me I can't
see where/how.

On the website, from LAN OR WAN the main page pops fine.

If I goto my xxx.com/CS link (which USED to work), on the LAN side it's
perfect. On the WAN side I get 'The connection was refused when
attempting to contact xxx.com'

All other folders/links work, just this ONE 1/2 way. Any ideas?
Things to check? etc...

www.xxx.com (fine)
/CS (conn refused)
/Old (fine)
/xxx (fine)

Part of the weblog:

2005-07-12 23:00:33 W3SVC2127081348 192.168.0.50 GET /CS/Default.aspx -
80 - 67.9.20.141
Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-US;+rv:1.7.8)+Ge cko/20050511+Fir
efox/1.0.4
302 0 0
2005-07-12 23:00:53 W3SVC2127081348 192.168.0.50 GET /CS - 80 -
67.9.20.141
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET +CLR+1.1.4322)
301 0 0
2005-07-12 23:00:53 W3SVC2127081348 192.168.0.50 GET /CS/Default.aspx -
80 - 67.9.20.141
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET +CLR+1.1.4322)
302 0 0
2005-07-12 23:01:46 W3SVC2127081348 192.168.0.50 GET /CS/Default.aspx -
80 - 67.9.20.141
Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-US;+rv:1.7.8)+Ge cko/20050511+Fir
efox/1.0.4
302 0 0
2005-07-12 23:02:01 W3SVC2127081348 192.168.0.50 GET /CS - 80 -
67.9.20.141
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET +CLR+1.1.4322)
301 0 0
2005-07-12 23:02:01 W3SVC2127081348 192.168.0.50 GET /CS/Default.aspx -
80 - 67.9.20.141
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET +CLR+1.1.4322)
302 0 0

Apprec. any insight!

David D.

Re: IIS6 - Conn. Refused on single folder/link

am 14.07.2005 16:26:37 von i_robot73

Problems fixed. Was 2 fold issue:

1) Dynamic DNS was updating only setup to update Hostnames & not JUST
domain roots. (Firewall limitation)

2) ASPX config file option of "wwwStatus" not set to 'Required', so
wasn't prefixing www. to domain name. Hence I was getting "Could not
find xxx.com"

Thanks for all the great hints, they directed me to the issue @ hand.
Now I'm fixed up!

Now to actually START building the webpage (after a year slacking :P)

David D.


David Wang [Msft] wrote:
> It looks like /CS/default.aspx is sending back a 302 redirection whose
> redirection URL is probably bogus in some way (either wrong port or wrong
> name/IP) -- so you get "connection refused" (the redirection was telling
> your browser to connect to some other host which didn't have a server
> listening on the port you specified) -- while on the LAN side it appears to
> work.
>
> Thus, I would check how you have written your redirection in
> /CS/default.aspx and dump out its values (without redirecting) to see what
> you are actually sending as the redirection URL. Also, I would check out any
> external DNS resolution issues that may prevent the redirection URL from
> functioning/resolving correctly.
>
> --
> //David
> IIS
> http://blogs.msdn.com/David.Wang
> This posting is provided "AS IS" with no warranties, and confers no rights.
> //
> wrote in message
> news:1121225301.386737.170580@g49g2000cwa.googlegroups.com.. .
> I'm sure this is something I'VE done, but for the life of me I can't
> see where/how.
>
> On the website, from LAN OR WAN the main page pops fine.
>
> If I goto my xxx.com/CS link (which USED to work), on the LAN side it's
> perfect. On the WAN side I get 'The connection was refused when
> attempting to contact xxx.com'
>
> All other folders/links work, just this ONE 1/2 way. Any ideas?
> Things to check? etc...
>
> www.xxx.com (fine)
> /CS (conn refused)
> /Old (fine)
> /xxx (fine)
>
> Part of the weblog:
>
> 2005-07-12 23:00:33 W3SVC2127081348 192.168.0.50 GET /CS/Default.aspx -
> 80 - 67.9.20.141
> Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-US;+rv:1.7.8)+Ge cko/20050511+Fir
> efox/1.0.4
> 302 0 0
> 2005-07-12 23:00:53 W3SVC2127081348 192.168.0.50 GET /CS - 80 -
> 67.9.20.141
> Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET +CLR+1.1.4322)
> 301 0 0
> 2005-07-12 23:00:53 W3SVC2127081348 192.168.0.50 GET /CS/Default.aspx -
> 80 - 67.9.20.141
> Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET +CLR+1.1.4322)
> 302 0 0
> 2005-07-12 23:01:46 W3SVC2127081348 192.168.0.50 GET /CS/Default.aspx -
> 80 - 67.9.20.141
> Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-US;+rv:1.7.8)+Ge cko/20050511+Fir
> efox/1.0.4
> 302 0 0
> 2005-07-12 23:02:01 W3SVC2127081348 192.168.0.50 GET /CS - 80 -
> 67.9.20.141
> Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET +CLR+1.1.4322)
> 301 0 0
> 2005-07-12 23:02:01 W3SVC2127081348 192.168.0.50 GET /CS/Default.aspx -
> 80 - 67.9.20.141
> Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET +CLR+1.1.4322)
> 302 0 0
>
> Apprec. any insight!
>
> David D.