Tell me more ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

My service for World Wide Web Publishing Service started successfully but whenever I browse to http://localhost/ I always get 502 Unknown host. Also, wampapache is installed side by side but when I stop IIS service and start wampapache from services.msc I get error and when I view it in System event log I get this error:

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="Service Control Manager" Guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" EventSourceName="Service Control Manager" /> 
  <EventID Qualifiers="49152">7024</EventID> 
  <Version>0</Version> 
  <Level>2</Level> 
  <Task>0</Task> 
  <Opcode>0</Opcode> 
  <Keywords>0x8080000000000000</Keywords> 
  <TimeCreated SystemTime="2011-06-12T17:43:28.223498400Z" /> 
  <EventRecordID>346799</EventRecordID> 
  <Correlation /> 
  <Execution ProcessID="456" ThreadID="3936" /> 
  <Channel>System</Channel> 
  <Computer>MACHINENAME</Computer> 
  <Security /> 
  </System>
- <EventData>
  <Data Name="param1">wampapache</Data> 
  <Data Name="param2">%%1</Data> 
  </EventData>
  </Event>

I am fed up of this error and it is driving me nuts. I feel like banging my head against the laptop. I am really serious. Without concentrating on my real application I am trying to solve this issue since 3 hours.

I google various threads and few of them said that there could be issue of Reporting Services or Skype. But I have uninstalled Skype and Reporting Services are disabled. What more should I do?

I have hosts file present in etc directory and it does have mapping for localhost to 127.0.0.1. What more could I do?

share|improve this question
navigating to 127.0.0.1 works? – DarkCthulhu Jun 12 '11 at 17:52
Navigating to 127.0.0.1 doesn't work either. – TCM Jun 13 '11 at 2:18
Any other loopback address? 127.1.1.0... etc? – DarkCthulhu Jun 13 '11 at 5:05

migrated from stackoverflow.com Jun 13 '11 at 8:43

2 Answers

Check the ownership of your hosts file. It should be owned by SYSTEM.

share|improve this answer
It is owned by SYSTEM as well as everyone but still doesn't work. – TCM Jun 13 '11 at 2:18

Have you configured the binding in IIS manager?

Right click on your site, select 'Edit Binding', ensure as a minimal port 80 is added, host name and IP address (leave as default - All Unassigned) does not need to explicitly be defined if you are typing in localhost.

If you want to run side by side, change the port number or hostname.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.