Windows Server 2008 R2 Running Apache Having Issues Displaying Web Pages


I am having a strange issue with some Apache web servers running on Hyper-V virtual machines. Here is the scenario:

When we restart the VM that is running the Apache website, the website is available and displays on the local machine but not outside of the local machine. We opened a case with Microsoft and they are seeing that the request to view the site (SYN Packet) is received by the web server but the site never responds to the request. All the appropriate services are running and the ports are opened and listening but the site doesn't respond from outside its local machine. Restarting the VM repeatedly or restarting the Apache service eventually corrects the issue and the site works as it should.

Microsoft is persistent that this is an Apache issue but nothing shows in any of the logs in Apache or on the Windows side. Again, this is a virtual machine running on a physical host. All the servers are Windows 2008 R2 SP1 and we are running Apache 6.

Has anyone ever encountered this before? I am thinking at this point that there may be some dependency service that isn't starting properly or in the right order but I don't know enough about Apache to isolate the issue. Thanks.
Who is Participating?
ApexadminConnect With a Mentor Author Commented:
This issue continues to happen and only with Apache. I am going to say that at this time the issue is with Apache.
Hi There,

Couple of questions:

Are the Hyper-V vNICs properly bound to the physical NICS?
IP addresses/subnetmasks properly configured?
Can a machine outside of the Apache webserver ping the webserver?
Is the webserver listening on port 80 (go cmd --> netstat -ona |findstr 80) ?
ApexadminAuthor Commented:
Yes, the NIC's are configured correctly.
Yes, all IP's and Subnets are correct as well.
Yes, machines outside of the webserver can ping the machine, and even use other services like RDP and run backups.
Yes, the webserver is listening on port 80.

All of  this was also confirmed by the Microsoft technician.
Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to and use offer code ‘EXPERTS’ to get 10% off your first purchase.

Hmmm... odd...

That would then eliminate all possible network issues.

I would look around in the Apache confhttpd.conf file.
ApexadminAuthor Commented:
Nothing helpful there. It really seems like there is some type of timing issue taking place here. An issue where Apache is starting too quickly and not allowing other necessary services to complete first perhaps. I am doing some controlled testing but I would love any additional advice.
ApexadminAuthor Commented:
Here is the relevant configuration output from the server.xml file. Any issues here?

<Connector port="80" maxHttpHeaderSize="8192"
               maxThreads="500" minSpareThreads="25" maxSpareThreads="200"
               enableLookups="false" redirectPort="443" acceptCount="100"
               disableUploadTimeout="true" URIEncoding="UTF-8"  
               compression="on" compressableMimeTypes="text/html,text/xml,text/javascript,text/css,text/plain"/>
ApexadminAuthor Commented:
No real solution presented itself.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.