Pages: Previous123Next
Current Page: 2 of 3
Re: change localhost port
Posted by: Cozzbie (184.107.221.---)
Date: December 15, 2012 03:34PM

Lemme know exactly how you went about it and I just might find where the problem is smiling smiley

Options: ReplyQuote
Re: change localhost port
Posted by: Cozzbie (184.107.221.---)
Date: December 15, 2012 03:40PM

Port monitoring is done from the Apache end...so from the httpd.conf file you'd have to go to the Listening line and change 80 to the new one port number that you'd like to use...after that from within your browser use -------------> localhost:new number to access ur server side contents

Options: ReplyQuote
Re: change localhost port
Posted by: Cozzbie (184.107.221.---)
Date: December 15, 2012 03:43PM

Lemme know if you encounter any problems

Options: ReplyQuote
Re: change localhost port
Posted by: apache101 (---.singnet.com.sg)
Date: February 21, 2013 05:37AM

Hi,

I am encountering the similar probelm after change port number to 8000.

[localhost]

1) click phpinfo(), it works

2) click phpmyadmin => HTTP ERROR CODE 403

For phpmyadmin, it keeps running on port 80 even though I disable IIS.


Please advise. Thanks in advance.

Options: ReplyQuote
Re: change localhost port
Posted by: RiggsFolly (---.ppp.as43234.net)
Date: February 21, 2013 11:22AM

If you disabled IIS properly then you dont need to use any other port than 80, change it back if you can.


I think you all are missing the basic point here, browsers are setup to expect a webserver to be listening on port 80, its a universal standard.


If you change the port number that Apache is listening on, then each time you attempt to access a page on that server you have to tell the browser to communicate with that server on a different port by specifying the non standard port number on the url:

http://www.example.net:8000

That is why it is so much simpler to keep the port number as 80 !!

Now it is possible to change the wampmanager menu items so that your non-standard port number is added to the localhost and phpmyadmin urls, if you absolutely must.

Make a copy of your c:\wamp\wampmanager.tpl file and put it somewhere safe
If you mess up this file you will want to start again from the backup.


edit c:\wamp\wampmanager.tpl
UNDER NO Circumstances should you ever edit the wampmanager.ini file directly. It is built by wampmanager from the .tpl file.

search for this section

[Menu.Left]
;WAMPMENULEFTSTART
Type: separator; Caption: "Powered by Alter Way"

On the next line there is a reference to
http://localhost/
In double quotes, change it to
http://localhost:8000/

on the following line do the same for phpmyadmin, change from
http://localhost/phpmyadmin/
to
http://localhost:8000/phpmyadmin/


Now to activate these changes to the .tpl file RIGHT-CLICK the wampmanager icon and select the 'Refresh' menu item. Give it a few seconds to make the changes and then try the 'localhost' and 'phpmyadmin' menu links again.


If you make a tragic mistake and wampmanager does not like what yo have done, copy the backup back and do the 'Refresh' again to re-activate the original and start again.

Options: ReplyQuote
Re: change localhost port
Posted by: showstopper (---.dynamic.tstt.net.tt)
Date: February 21, 2013 01:35PM

i can but i havent played with wamp in a while just only linux so i'll go download a fresh copy smiling smiley

Fitcom - Technology and SEO with a side of awesome

Installing and Configuring a WAMP Server in Windows 7 & 8

Options: ReplyQuote
i edit other port than 80 in httpd.conf but i still get iis7 page on localhost so what can i do now
Posted by: sagar4444 (---.static.youbroadband.in)
Date: May 20, 2013 08:27AM

i edit other port than 80 in httpd.conf but i still get iis7 page on localhost so what can i do now

Options: ReplyQuote
Re: change localhost port
Posted by: RiggsFolly (---.as13285.net)
Date: May 20, 2013 11:55AM

If you change the post apache is listening on you will also need to add that port to your site url
i.e.

http: // localhost:8080


Thats why it is not a good idea to change the Listen'ing port unless you have to. Its best to uninstall IIS etc if you are not actually using it.

Options: ReplyQuote
Re: change localhost port
Posted by: virat.gaywala (203.190.151.---)
Date: May 06, 2014 07:22AM

Hi,

Please go to the my blogs, I have written complete step by step information along with screen shots.

URL: [viratgaywala.blogspot.in]

Options: ReplyQuote
Re: change localhost port
Posted by: emaifyo (41.220.69.---)
Date: September 28, 2014 04:54AM

Thanks,I just tried what you said and is just working

Options: ReplyQuote
Re: change localhost port
Posted by: arvindind (106.208.108.---)
Date: October 18, 2014 05:32AM

Have same issue, installed wampserver 2.5 64bit on window7 sp1 (only now noticed 32bit is actually fine and 64 is still experimental). As port 80 is used by IIS, changed it to 8000 in below files as in [knightshafayet.wordpress.com]

C:\wamp\bin\apache\apache2.4.9\conf\httpd.conf
#Listen 12.34.56.78:80
Listen 0.0.0.0:80
Listen [::0]:80
replaced 80 to 8000 in this file

C:\wamp\wampmanager.tpl
C:\wamp\wampmanager.ini
replaced ..//localhost/ with ..//localhost:8000/ in both the files.

After change when restart Wampserver icon goes green, but when select 'localhost' or 'phpmyadmin' from wampserver console, get error message "Unable to connect. Firefox can't establish a connection to the server at localhost:8000".

Where all it needs to change 80 to 8000 to make it work?

Is is really ok to unistall IIS from windows as some suggest (when disable IIS asks for restart, further configure error) and changing 80 to 8000/8080 have its own problem?



Edited 1 time(s). Last edit at 10/18/2014 05:36AM by arvindind.

Options: ReplyQuote
Re: change localhost port
Posted by: RiggsFolly (---.dynamic.dsl.as9105.com)
Date: October 18, 2014 02:56PM

If you are not using IIS, then it is fine to uninstall it.

Keeping Apache listening to port 80 makes lots of other things easier and simpler

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: change localhost port
Posted by: arvindind (171.76.211.---)
Date: October 19, 2014 12:50PM

Is there any proper method to disable/uninstall IIS server using port 80 in Windows7 for once?

when you uncheck IIS from 'Windows features' and restart windows, though at first applies the changed configuration soon display failure message while to complete. still after this restrat apache server is able to engage with port80 (wampserver work fine now) but when next time you put on your system, windows retake port80 again, condition same as first it was. so everytime needs to uncheck IIS to release for apache..



Edited 1 time(s). Last edit at 10/19/2014 12:52PM by arvindind.

Options: ReplyQuote
Re: change localhost port
Posted by: RiggsFolly (---.dynamic.dsl.as9105.com)
Date: October 19, 2014 01:10PM

There are a number of other feature of IIS that can also grab port 80.

1. IIS
2. Web Deploy 2.0
3. MS Sql Server Reporting service.
4. BranchCache ( Windows 8.1 )


Make sure these are also re-configured/disabled/uninstalled

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: change localhost port
Posted by: arvindind (115.241.33.---)
Date: October 20, 2014 07:45AM

Maybe because of these services, windows is reverting the configured changes while restart. But none of these services are running in the system and still windows revert the IIS disabled condition.

It works clean from command prompt, stopping IIS. To stop IIS on windows7, login as administrator, open command prompt, run "C:/Windows/System32/iisreset /stop".

Also can disalbe World Wide Publishing Service for all time, run "C:/windows/sc config w3svc start= disabled". These two commands work out fine and hope is the best way. Somany posts in so many forums, all incomplete, anyway somewhere found this. Thank you all.

Options: ReplyQuote
Re: change localhost port
Posted by: RiggsFolly (---.dynamic.dsl.as9105.com)
Date: October 20, 2014 11:42AM

Do a google sreach, there are lots of HowTo's on uninstalling IIS properly

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: change localhost port
Posted by: sameerchowdhury (---.230.97.14-tataidc.co.in)
Date: January 14, 2015 10:35AM

In my WAMP directory, there's no apache folder. how do i proceed

Options: ReplyQuote
Re: change localhost port
Posted by: Otomatic (Moderator)
Date: January 14, 2015 11:10AM

Hi,

> how do i proceed
Looking a little more perseverance!
wamp/bin/apache/apache2.4.9/

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: change localhost port
Posted by: Datawolfe (---.range86-184.btcentralplus.com)
Date: July 15, 2015 07:23PM

Go to the wamp folder where ever you installed it.
open "wampmanager.tpl" in notepad or any good html editor....
search for
[Menu.Left]
;WAMPMENULEFTSTART
Type: separator; Caption: "Powered by Alter Way"
Type: item; Caption: "${w_localhost}"; Action: run; FileName: "${c_navigator}"; Parameters: "[localhost];; Glyph: 5
;WAMPPROJECTSUBMENU

and change it too

[Menu.Left]
;WAMPMENULEFTSTART
Type: separator; Caption: "Powered by Alter Way"
Type: item; Caption: "${w_localhost}"; Action: run; FileName: "${c_navigator}"; Parameters: "[localhost];; Glyph: 5
;WAMPPROJECTSUBMENU

then save the file, exit wamp and restart it.... voila

Options: ReplyQuote
Re: change localhost port
Posted by: razeenmks@gmail.com (117.196.141.---)
Date: November 03, 2015 10:11AM

Its possible that your port is used by other programs. Follow the steps in this guide [theinforoom.blogspot.in]

Got this after searching for Hours. grinning smiley

Options: ReplyQuote
Pages: Previous123Next
Current Page: 2 of 3


Sorry, only registered users may post in this forum.