Issue: 64bit version open Localhost with wrong port number.
Posted by: xieranmaya (121.0.29.---)
Date: March 31, 2014 04:52AM

I edited the Apache's httpd.conf file and changed the port it listening(i.e. 8080).
Restart all the services.
Then I click the WAMP tray's first menu item(Localhost) to open my site, but it still open localhost in my browser, not localhost:8080.

my version is 2.4 with 64bit and php 5.4.

thank you for your awesome work~

Options: ReplyQuote
Re: Issue: 64bit version open Localhost with wrong port number.
Posted by: RiggsFolly (---.as13285.net)
Date: March 31, 2014 10:17AM

IF you change the port number then you have to use it on all urls.

So you have to enter

localhost:8080 to get to localhost
localhost:8080/phpmyadmin to get to phpmyadmin

and so on, for every address on your changed web server.


This is because browsers default to port 80 and make our lives easy, they have to be told about a port chnage.
So if at all possible change the port back to 80.

---------------------------------------------------------------------------------------------
(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: Issue: 64bit version open Localhost with wrong port number.
Posted by: xieranmaya (121.0.29.---)
Date: April 01, 2014 04:15AM

I know it.
but I remember that the older version of WAMP will automatically add a port number when you changed the listening number in httpd.conf. why the newer version didn't?

Options: ReplyQuote
Re: Issue: 64bit version open Localhost with wrong port number.
Posted by: RiggsFolly (---.as13285.net)
Date: April 01, 2014 12:56PM

No it was never automatic.

However you can edit the \wamp\wampmanager.tpl file and change the localhost references in there and add the :8080 if you wish.

PLEASE PLEASE make a backup of \wamp\wampmanager.tpl BEFORE you change it.

---------------------------------------------------------------------------------------------
(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


Sorry, only registered users may post in this forum.