Unable To Access Wampserver Homepage As Displaying IIS Homepage

- 1 answer

In my OS, i have activated both windows IIS server (for run asp files) and Wampserver. in the first instance i faced to a problem as both server running on same port. the error occured as this ;

"The function attempted to use a name that is reserved for use by another transaction"

Then I changed the port in httpd.conf (in wamp > apache > httpd.conf) as "Listen 80" into "Listen 8080". then both servers worked well.

then i did these things.

  1. run asp file (as a test)
  2. extract phpmyadmin folder in to wwwroot folder in C:/inetpub (but couldn't open the phpmyadmin).
  3. Then i needed to create database in IIS server. i searched the IIS manager window and tried to create a connection through the "connection strings" option.

    in the form I put "localhost" as the server, and name for database. then ok.

    then again tried to open phpmyadmin by starting IIS server. (failed)

  4. removed the connection string.

Then i stoped the IIS and start the wamp, goto localhost. but it directs for the IIS home page. (ports not changed) Then I restart the laptop and try again. (failed - IIS home page appeared)

Then I did these things.

  1. change the port in httpf.conf into 80 and saved it. restart the laptop and try again to run localhost through the wamp. (server not found appeared)
  2. reset the port as 8080 in httpd.conf, saved. try again. (failed : IIS home page appeared)
  3. i deactivated the IIS server through the "windows features on off".then tried to open localhost wamp home page through the task bar icon. again it directs for IIS home page.
  4. I removed the inetpub directory form the C drive and try again. again it directs for IIS home page.

Now I am unable to access the localhost or phpmyadmin. I have mentioned everything what i have done before this thing was happened. please explain what can be the reason for this and give me the solution for start phpmyadmin through the wamp server.



If you change the port number that WAMPServer's Apache is Listening on then you have to use that port number when you try and run anything against that Apache. Browsers default to port 80, but if you want to get to any other port you have to add it to the URL manually.

So you have to use


When you leave the non standard port number off the url you are defaulting to port 80 and IIS is listening on port 80.