re:
Hey Juan you are right that is a shock.
heh, heh... I knew it'd be a surprise. :-)
re:
Am I being hacked or what?
Nope. That's just the way things work.
re:
But why has localhost got so many connections open with lots of different ports?
Your server ( IIS 5.1 ) is listening on several ports and your active connections
( browser requests from IIS ) stay alive for the default time-to-live configured for Windows XP.
You shouldn't mess with the default time-to-live, but you can tweak
Windows XP so you can have more connections ( although you aren't supposed to ).
See :
http://www.theeldergeek.com/increase...onnections.htm
and
http://www.helpwithwindows.com/WindowsXP/tune-120.html
They have the same instructions...
Note : Doing what those sites recommend implies editing the Windows Registry.
What I am telling you is not a recommendation to go ahead and hack
the Windows Registry and, if you do it, you do it at your own risk.
At the very least, backup your registry so you can restore it later in case of an "accident".
After those required disclaimers, feel free to proceed at your own risk.
:-)
Juan T. Llibre, asp.net MVP
aspnetfaq.com :
http://www.aspnetfaq.com/
asp.net faq :
http://asp.net.do/faq/
foros de asp.net, en español :
http://asp.net.do/foros/
===================================
"John Haycock" <jh***@blueyonder.co.ukwrote in message
news:cZ******************@fe1.news.blueyonder.co.u k...
>
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
>re:
>>I always close connections in the code
The problem is not data access connections. You're not running out of those.
It's http connections.
Windows XP is limited to 10 connections...of all types, both incoming and outgoing.
Run this little test and you'll probably be surprised
at the number of connections you actually have open :
Open a command window ( Start, Run, cmd ) and issue the command :
netstat -a
Make sure you're sitting down when you do that.
I'll bet you didn't know you had so many active connections open.
Hey Juan you are right that is a shock. But why has localhost got so many connections open with
lots of different ports? Am I being hacked or what? As I say this is the first time in three years
I've got that error so I'm assuming I have more connections now for some reason