Why does my Windows Form app timeout when repeatedly hitting IIS 7 externally?
Posted
by andy
on Stack Overflow
See other posts from Stack Overflow
or by andy
Published on 2010-04-08T01:15:14Z
Indexed on
2010/04/08
1:23 UTC
Read the original article
Hit count: 339
hey guys,
I've got a very simple Windows Form app that hits an IIS 7 site about 2000 times in the space of a few seconds (using threads).
When I run that app on the server itself, using either localhost or the ip address, everything is totally fine.
However, when I run the app on my dev box, using the ip address, I get an error from the "GetResponse" method:
The operation has timed out
The App can definitely connect to the site, because it consistently either starts throwing the timeout error after 10 or so hits (no more than 11), or it throws the timeout error immediately.
What's going on?
It's hitting IIS 7 on a Windows Server 2008 VM (external box), Windows Firewall is OFF.
My App is running locally on my dev box as the admin.
cheers
© Stack Overflow or respective owner