WAMP: Cannot Connect To Localhost


I'm just stuck on one little thing here but here is what I've done so far using websites and video tutorials (Note: I'm Running on Windows 10 and using Microsoft Edge as a browser for WAMP).


Disabled Skype

</li> <li>

I went into the little WAMP menu/apache/httpd.conf and changed LISTEN to port 81.

</li> <li>

It still said port 80 was being used by Windows IIS 10.0 so I went into the Command Prompt as admin and used "iisreset /stop". Now WAMP is green and online, yay.

</li> <li>

I enter localhost at the top of the WAMP menu and it brings me to a webpage saying "Make sure you’ve got the right URL: <a href="http://localhost" rel="nofollow">http://localhost</a>".

</li> <li>

I have gone into (C:)/Wamp/www and changed a line of code in "index" to $suppress_localhost = false;. Nothing changed.

</li> </ul>

Now I'm in (C:)/Windows/System32/drivers/etc and editing the "hosts" file. The edit is simply uncommenting my ip address which will supposedly reveal where WAMP should be going. It will not allow me to save it unless I give myself full control which is done by right clicking the file and selecting properties. However, when I try to save the file it fails and says "Please check if this file is open in another program". This is what I am stuck on.

Does anyone know how to check what other programs are using this file or is there another method of connecting to localhost to WAMP?

Thanks in advance!


First return Apache's listening port to 80.

Doing this <em>"iisreset /stop"</em> will only stop IIS until the next reboot. So it is better to uninstall IIS completely if you are not using it.

This <em>I enter localhost at the top of the WAMP menu and it brings me to a webpage saying "Make sure you’ve got the right URL</em> is probably due to the fact that there is more than once place where you need to change the listening port in apache, so when you put it back to

Listen Listen [::0]:80

This will probably go away

SKYPE: You can configure SKYPE to not use port 80 or 443, but as far as I know you cannot do this to the tiles SKYPE, so uninstall that and then install the SKYPE App (from the SKYPE website). This can be reconfigured like this :-

Start SKYPE, Menu Tools -> Options -> Advanced -> Connection On this dialog, Uncheck the checkbox labeled

Use port 80 and 443 for additional incoming connections and add a number to the `use port` field, something like `33333`

SKYPE should no longer attempt to use port 80.

The HOSTS file is protected by Windows, and possibly your Anti Virus also tried to protect it. To amend the HOSTS file you have to elavate your privilages to Administrator, and before you say you are, you are not. Start a command windows using the "Run as Administrator" option.

CD into C:\windows\system32\drivers\etc

run notepad hosts

Make your changes and save them

Host file should contain at least localhost ::1 localhost


  • Outlook 365 add-in only appears in Outlook 2013 client
  • No server chosen by WritableServerSelector from cluster
  • How to check programatically that 8.3 short path name is enabled on system?
  • Batch Command Conflict
  • Laravel Eloquent integration in Codeigniter
  • what is browser's native support according to selenium webdriver
  • How do I include screenshots of the full page in my serenity report (and not only of the viewport) u
  • How to change default stop edit behavior in jtable
  • goJS dropdown remove items
  • Javascript Array, Object, Date not defined
  • npm 5.4.1 install/uninstall all failing
  • Eclipse CDT error: Unable to compile
  • PHPUnit_Framework_TestCase class is not available. Fix… - Makegood , Eclipse
  • Pass value from viewmodel to script in zk
  • Why ng-show works with ng-repeat but ng-if doesn't? [duplicate]
  • What is Eclipse's Declaration View used for?
  • Optimizing database types to compact database (SQLite)
  • How do I fake an specific browser client when using Java's Net library?
  • Alternatives to the OPTIONAL fallback SPARQL pattern?
  • Do I've to free mysql result after storing it?
  • Rearranging Cells in UITableView Bug & Saving Changes
  • QuartzCore.framework for Mono Develop
  • Python - Map / Reduce - How do I read JSON specific field in using DISCO count words example
  • Warning: Can't call setState (or forceUpdate) on an unmounted component
  • bootstrap to use multiple ng-app
  • How to get icons for entities from eclipse?
  • AngularJs get employee from factory
  • Proper way to use connect-multiparty with express.js?
  • Load html files in TinyMce
  • How can I get HTML syntax highlighting in my editor for CakePHP?
  • How to set the response of a form post action to a iframe source?
  • coudnt use logback because of log4j
  • Change div Background jquery
  • Turn off referential integrity in Derby? is it possible?
  • Bitwise OR returns boolean when one of operands is nil
  • sending mail using smtp is too slow
  • JaxB to read class hierarchy
  • costura.fody for a dll that references another dll
  • Binding checkboxes to object values in AngularJs
  • Conditional In-Line CSS for IE and Others?