Wake up server from sleep state only on port 80 traffic
Posted on 2010-09-06
I have a Windows 2008 server that I built as a staging environment for an asp.net web application that I've been working on. The only purpose for the server is to provide my team with the ability to test out the latest build of the application. The server is in my home behind a router and incoming port 80 traffic is routed to this machine. Right now I have the computer set to go to sleep after 10 minutes and it will wake up on any network activity. So, when one of my team members trys to access the asp.net application hosted on the server, it will wake up. If I try to RDP into the server it will wake up. All well and good. The problem is that it also wakes up at other seemingly random times when there is traffic on the network (refresh network state?). I only want the network card to bring the server out of sleep mode when there is traffic on port 80 (www) or port 3389 (rdp). Is this possible? How can I do this? The server is in my home so I don't want it running all the time...only when someone is requesting to use it. Sometimes it seems like it will go to sleep after 10 minutes only to start right back up again.