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

      thanks its work very well

    2. August 30, 2011 at 2:49 PM

      You are a day saver. Thank you for the help 🙂

    3. November 16, 2011 at 9:32 AM

      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

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

    5. March 12, 2012 at 10:04 AM

      Thanks a lot !!!

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

      Thanks ALot 😀

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

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

      May 22, 2012 at 8:28 AM

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

    9. Gefferson
      July 1, 2012 at 10:40 PM

      Thank you it worked

    10. Gefferson
      July 1, 2012 at 10:42 PM

      the icon green but offline and not working

    11. thanks
      July 3, 2012 at 5:14 AM

      you are awesome!!!!!
      thank you very much!!!

    12. hesham fathi
      July 10, 2012 at 7:12 AM

      man you freakin’ awesome maaaaaaaaan !

    13. Tarun K Ghosh
      August 12, 2012 at 2:08 AM

      Thanks man … you are great 😉

    14. ahmad
      September 4, 2012 at 2:57 PM

      thank you very much you are awesome

    15. Priti
      September 17, 2012 at 12:56 AM

      Hi Thanks.. this works

    16. saffri
      September 25, 2012 at 9:28 AM

      thanks alot, u saved my life :)))

    17. John
      October 5, 2012 at 11:25 PM


      You don’t have permission to access / on this server.

    18. October 9, 2012 at 1:38 PM

      thank you it work for me but when i left click wamp icon it wont show “web local” which it will take u localhost !
      but anyway i can acces my localhost thru browser by typing

    19. Arijeseku
      October 18, 2012 at 12:23 AM

      You are the Man! Thanks you very much…in 1000000^1000000

    20. afwerferf
      October 22, 2012 at 5:57 AM

      i owe you frosty cold beverage!! 🙂

    21. Mahesh
      November 1, 2012 at 11:44 PM

      great,my admin page got started, but first page shows error page not found

    22. Ray
      November 9, 2012 at 9:03 AM

      Stopped IIS on Win 7 and WAMPServer fired right up. thanks!

    23. kiran
      November 22, 2012 at 8:05 AM

      thanks for giving this info …..

    24. November 23, 2012 at 10:23 PM

      in my condition still like before……
      icon was green but the notification still offline

    25. juffer981
      November 24, 2012 at 1:32 PM

      gracias hombre, me ha sido de mucha ayuda, thanks man,

    26. Pramod
      November 27, 2012 at 10:27 AM

      For those with green icon and server not showing the menu on click as well as Green icon – Server offline message, check if you have any other standalone php version installed in your syste and uninstall it. For some reason other php version is not liked by WAMP ! It worked for me ! Try this..

    27. Pramod
      November 27, 2012 at 10:28 AM

      dont forget to restart the services after you uninstall other php versions !

    28. Pramod
      November 27, 2012 at 10:30 AM

      Now, I am stuck with error page while I type localhost:8080 (yes, i have changed the port), that is, no page opens! Anyone with a fix for this ??

    29. Rasika
      December 15, 2012 at 10:28 AM

      Thank you so much…..;-)

    30. Mukesh.M
      January 21, 2013 at 10:13 PM

      Thnk you so much, it ‘ll working propperly..

    31. February 6, 2013 at 5:58 AM

      thanks ,it’s working properly 🙂

    32. mandip
      February 9, 2013 at 3:49 AM

      from above step: http://localhost:8080/ is working but

      http://localhost:8080/phpmyadmin/ :- is not working….

    33. February 27, 2013 at 10:05 AM

      Thank you, It works.

    34. rajesh
      March 8, 2013 at 10:09 PM

      it worked,,, i think this is the only useful blog i found,,,rest all are waste

    35. March 11, 2013 at 7:59 AM

      That was exactly it – thanks!

    36. supraja
      April 11, 2013 at 7:05 AM

      thanks it works very well

    37. vjmakersvijay
      April 16, 2013 at 1:28 AM

      its not working…still its n orange

    38. freddyfred
      April 19, 2013 at 8:51 AM

      thanks a lot, you are awesome!

    39. safeer hussain
      May 14, 2013 at 8:11 PM


    40. umer
      May 16, 2013 at 5:42 AM

      it works………gd

    41. akansha mishra
      June 26, 2013 at 9:32 AM

      thankyou it worked…(Y)

    42. July 6, 2013 at 1:08 PM

      Go to control panel -> administrative tools -> services ->SSRS (SQL Server Reporting Services) then you just stop the SSRS (SQL Server Reporting Services) service then restart the wamp server then it automatically orange icon turns to green for more info just it out http://www.coderetina.com/port-80-used-by-microsoft-httpapi2-0-wamp-apache-error-fixed/ thanks

    43. Vikas Jindal
      September 27, 2013 at 9:56 AM

      1 Go to c:\wamp\bin\apache\Apache2.2.11\conf
      2 Open httpd.conf file
      3 only change 80 to any number between 11 and 9999
      ex. 99
      change every where there write 80 port
      and than close wampserver and again start
      open page in your browser
      http://localhost:99 99 is nuber which is use in config file ok
      heve a fun

    44. nikka
      November 4, 2013 at 9:15 PM

      It works! Thank you so much!!!

      March 5, 2014 at 9:14 AM

      Thanks buddy.. It works for me as well….

    46. Divyesh
      March 25, 2014 at 2:42 AM

      thanx yaar it’s work. . but carfull when you follow above all step then you first off all other server or sevice like apache tomcate service or also disable your anti virus

    47. Mohanraj
      August 18, 2014 at 6:09 AM

      ya it s work good thanks dude

    48. September 15, 2014 at 12:24 AM

      It works :d Thank you

    49. September 21, 2014 at 6:00 PM

      Worked for me on Win 8 64-bit. Thanks for that info.

    50. zemran
      March 21, 2015 at 11:48 PM

      My wamp server which works off with word press. it doesnt seem to go offline. any please?

    51. Nama Raj Nagarkoti
      March 28, 2016 at 11:04 PM

      uninstalled Skype and IIS, changed to 8080, Restarted many times. still it didn’t start in my win 7. Any other Way any body. even i reinstalled Wamp.

    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 )

    Google+ photo

    You are commenting using your Google+ 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

    %d bloggers like this: