Server 2008 R2 Dynamic Ports not being reused


i have windows 2008 r2 server developers have deployed windows services to.  about once every 30-40 days have errors in system log stating not not connect domain controller or logon server.  the developers applications stop working similar errors in application log:

[email id: 2781341] - system.net.mail.smtpexception: failure sending mail. ---> system.net.webexception: unable connect remote server ---> system.net.sockets.socketexception: operation on socket not performed because system lacked sufficient buffer space or because queue full

i know out of dynamic ports having trouble isolating cause.  even when on server not see laundry list of netstat entries indicating many dynamic connections.  it if applications incorrectly using piece of windows framework , sockets taken not reporting taken os in netstat.  

is there way see how many dynamic connections taken/remaining?  something can watch counter.  anyone have other ideas on how mitigate besides rewriting or verifying code in dev apps. in advance.

hi,

if want monitor network connection status detail, can try tcpview windows, tools show detailed listing of tcp , udp endpoints on system.

more information:

tcpview v3.05

http://technet.microsoft.com/en-us/sysinternals/bb897437.aspx

hope helps.


alex lv



Windows Server  >  Platform Networking



Comments

Popular posts from this blog

Error: 0x80073701 when trying to add Print Services Role in Windows 2012 Standard

Disconnecting from a Windows Server 2012 R2 file sharing session on a Windows 7,8,10 machine

Event ID 64,77,1008 Certificates Events Windows Server 2008, 2008R2