How do i make wamp work with localhost:8080
Posted by: anjan011 (202.56.7.---)
Date: August 08, 2008 05:38AM

By default wamp looks for the localhost:80, which will be listened by apache normally if IIS is not installed on windows.

Since i am running vista and a developer of both ASP .NET and PHP platform, i don't want to change IIS port 80. Instead i want to configure wamp to use apache in port 8080. Apache is running in port 8080 sucessfully but wamp feartures always looks for "localhost" as server not "localhost:8080"

How do i change that?

Options: ReplyQuote
Re: How do i make wamp work with localhost:8080
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: August 08, 2008 05:49AM

follow my gyuide here >>[pampserver.com]

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: How do i make wamp work with localhost:8080
Posted by: anjan011 (202.56.7.---)
Date: August 08, 2008 06:28AM

Thanks for your kind help smiling smiley

But i don't need to setup wamp for internet, its just for development purpose on my machine. Where port 80 already taken by IIS. I want WAMP to continue working with port 8080 instead of default 80

Please help.

Options: ReplyQuote
Re: How do i make wamp work with localhost:8080
Posted by: yfastud (Moderator)
Date: August 08, 2008 04:22PM

Theory, you can have both, but practically, they might conflict in some ways. w/ any wamp package, including this wampserver suite. In additions, you can install add-on such asp.net, jsp, so on to work w/ wampserver instead running 2 webservers, and you can follow my guides here.

[guides.jlbn.net]

Anyway, if you still like to try it, make sure to test on single unit before putting on main server(s), and here is the simplest way as far as I know

1. Configure iis running as service
2. Stop iis
3. Install wampserver (w/ option running as service)
4. Open httpd.conf in wamp/bin/apache/apache2.2.9/conf
5. Find and change "listen 80" to other port such as 81, 8080, so on, to become "listen 81" or "listen 8080"
6. Enable associated port 81, 8080, so on for wampserver in all firewalls and routers
7. Restart your computer, and now you have both iis and wampserver running

For testing, you should save in new folder every time you have new project, and for testing these 2, save these 2 test index.html in their associated location

// index.html testing asp stored in C:\Inetpub\wwwroot\testiis

<html>
<body>
<p>
IIS working
</p>
<%
Response.Write("And ASP works, too"winking smiley;
%>
</body>
</html>

// index.html testing php stored in C:\wamp\www\testwamp

<html>
<body>
<p>
WAMP working
</p>
<?php
echo 'And PHP works, too';
?>
</body>
</html>

And access them like this:

[localhost]
[localhost]

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides



Edited 4 time(s). Last edit at 08/08/2008 04:27PM by yfastud.

Options: ReplyQuote


Sorry, only registered users may post in this forum.