Archive

Posts Tagged ‘troubleshoot’

WAMP Server Offline Error

July 7, 2010 51 comments

Some of you might get the “Server Offline” error after you install WAMP on your windows 7 system. This happens if IIS server was installed in the system prior to the installation of WAMP thus creating the clash of the port address where both the servers are trying to access http://localhost/

This issue can be resolved by changing the port address for the WAMP server. Follow the below given steps to do the same:

  1. Go to c:\wamp\bin\apache\Apache2.2.11\conf
  2. Open httpd.conf file
  3. Change the line “Listen 80” to “Listen 8080” (or Listen <some number>)
  4. Save the file and close it
  5. Go to c:\wamp\ and open wampmanager.ini
  6. Change all http://localhost/ references in the file to http://localhost:8080/
  7. Save the file and close it
  8. Go to c:\wamp\ and open wampmanager.tpl
  9. Change all http://localhost/ references in the file to http://localhost:8080/
  10. Restart the WAMP Server

The above solution helps you to run both servers at the same time.Alternatively, you can also run only one server at a time i.e. running either IIS or WAMP server which does not require the above file modifications. But in some cases, this did not resolve the issue for unknown reasons.

The solution for this issue has been tested on Windows 7. The solution may be same for Windows Vista and Windows XP operating systems.

    %d bloggers like this: