Home > Desktop, Troubleshoot > WAMP Server Offline Error

WAMP Server Offline Error

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.

    1. August 13, 2011 at 7:46 PM | #1

      thanks its work very well
      thanks

    2. August 30, 2011 at 2:49 PM | #2

      You are a day saver. Thank you for the help :)

    3. November 16, 2011 at 9:32 AM | #3

      Great! Works perfect.

      But how do you change the localhost button on the wamp menu to open up in http://localhost:8080/ instead of just http://localhost/ ?

    4. November 16, 2011 at 1:55 PM | #4

      Never mind… got it to work after I exited wamp and re-started it again.

    5. March 12, 2012 at 10:04 AM | #5

      Thanks a lot !!!

    6. anne
      March 31, 2012 at 5:18 AM | #6

      Thanks ALot :D

    7. Jon
      April 22, 2012 at 6:56 AM | #7

      great thanks!! it seem to work, the icon is green but still seem to say “Offline”. Strange! =)

    8. BENNY ANTONY
      May 22, 2012 at 8:28 AM | #8

      I followed this method. Now the Icon is green. But still shows WAMP SERVER OFFINE and phpmyadmin shows blank page

    1. No trackbacks yet.

    Leave a Reply

    Fill in your details below or click an icon to log in:

    WordPress.com Logo

    You are commenting using your WordPress.com account. Log Out / Change )

    Twitter picture

    You are commenting using your Twitter account. Log Out / Change )

    Facebook photo

    You are commenting using your Facebook account. Log Out / Change )

    Connecting to %s

    Follow

    Get every new post delivered to your Inbox.