To set default port as 8080 all the times
Posted by: usman400 (182.185.205.---)
Date: January 06, 2013 04:49PM

Hi, I am a windows OS user thus every time I install Wamp I have to modify httpd file
so that I can access PHP sites using localhost:8080/mySite/index.php etc

Same is the case with myAdmin URL: localhost:8080/phpmyadmin

Is there any option in the Wamp server using which, when I click on the local host or myadmin
page (from context menu of the wamp in the task bar) it opens localhost:8080 instead of simple localhost?

Options: ReplyQuote
Re: To set default port as 8080 all the times
Posted by: stevenmartin99 (Moderator)
Date: January 06, 2013 04:53PM

yes you can modify a file to do so,

the issue is, why are you not using port 80?
yo should stop what ever is using it and give it to wamp.


but to answer

open c:\wamp\wampmanager.tpl

search for

http:/ /localhost

and replace with

http:/ /localhost:8080

its in the file 3 times. Save and restart wamp

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



Edited 1 time(s). Last edit at 01/11/2013 01:07PM by stevenmartin99.

Options: ReplyQuote
Re: To set default port as 8080 all the times
Posted by: usman400 (---.wateen.net)
Date: January 11, 2013 12:24PM

Thanks it did solve my issue
Actually I have to use non-default port due to installation of IIS

Is there any application available, using which I can pause IIS to use port 80 and then resume it again
after using Wamp?

Options: ReplyQuote
Re: To set default port as 8080 all the times
Posted by: RiggsFolly (---.as13285.net)
Date: January 11, 2013 08:27PM

Yes.

Its called Windows.

Start->Control Panel -> Administrative Tools -> Services

Find IIS in the list and press the 'Stop' link

Or you can use the command prompt

>net stop [service name]

Or there is also a IIS management console somewhere that shoul dlet you do it as well, cannot remember how its found or used but if you use IIS you probably know what I am talking about.

Options: ReplyQuote


Sorry, only registered users may post in this forum.