localhost:8080 getting redirected back to localhost
Posted by: Marco Gonzalez (---.alestra.net.mx)
Date: September 06, 2017 06:12PM

Hello, I have been watching all answers here due to I have the same problem, I want to create an alias, but I can not because I changed the localhost to Loocalhost:8080, I think I have to change the path on the Alias configuration, but I dont know where is it, I appraciate your help, thanks!



Edited 1 time(s). Last edit at 09/06/2017 06:17PM by Otomatic.

Options: ReplyQuote
Re: localhost:8080 getting redirected back to localhost
Posted by: Otomatic (Moderator)
Date: September 06, 2017 06:21PM

Hi,

You have not even noticed that you wrote your message in a discussion that dates from eight years!

First of all, please answer READ (and answer) BEFORE YOU ASK A QUESTION

Second, why have you changed port 80 to 8080? And how did you change the port number?

------------------------------------------------------------------------------------------------------------
(W7 Pro 64 bit)-Wampserver 3.1.0 32 bit - Apache 2.4.27 - PHP 7.1.9/7.0.23/5.6.31 - MySQL 5.7.19 - MariaDB 10.2.8
Wampserver 3.1.0 64 bit - Apache 2.4.27 - PHP 7.1.9/7.0.23/5.6.31 - MySQL 5.7.19 - MariaDB 10.2.8
PhPMyAdmin 4.7.4 - MysqlDumper 1.24.5

Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »



Edited 1 time(s). Last edit at 09/06/2017 06:22PM by Otomatic.

Options: ReplyQuote
Re: localhost:8080 getting redirected back to localhost
Posted by: Marco Gonzalez (---.alestra.net.mx)
Date: September 08, 2017 12:36AM

Sorry, I was distracted solving this and I didnt notice it was from 8 years ago ,I cannot use the port 80 because other process is using it, I cannot kill it because the network policy here, finally I had to use the port 8080 to run wamp, I dont know what else can I do?

Any idea about it

Thanks!!!

Options: ReplyQuote
Re: localhost:8080 getting redirected back to localhost
Posted by: Otomatic (Moderator)
Date: September 08, 2017 09:45AM

Hi,

See TROUBLESHOOTING TIPS all points, but points 03 and 08 for port 80.

Twwo things without answer :

- 1 - how did you change the port number?

-2 - READ (and answer) BEFORE YOU ASK A QUESTION

Note 1 : alias are in wamp\alias\ folder.

Note 2 : Left-click Wampmanager tray icon -> Apache -> Alias directories -> your alias -> Edit alias

------------------------------------------------------------------------------------------------------------
(W7 Pro 64 bit)-Wampserver 3.1.0 32 bit - Apache 2.4.27 - PHP 7.1.9/7.0.23/5.6.31 - MySQL 5.7.19 - MariaDB 10.2.8
Wampserver 3.1.0 64 bit - Apache 2.4.27 - PHP 7.1.9/7.0.23/5.6.31 - MySQL 5.7.19 - MariaDB 10.2.8
PhPMyAdmin 4.7.4 - MysqlDumper 1.24.5

Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »



Edited 1 time(s). Last edit at 09/08/2017 05:20PM by Otomatic.

Options: ReplyQuote
Re: localhost:8080 getting redirected back to localhost
Posted by: Marco Gonzalez (---.alestra.net.mx)
Date: September 08, 2017 05:50PM

Hi

Sorry, about the things without answer:


1.- I changed port 80 to port 8080, into httpd.config on Apache


2.- I read the point03, and Im not using Skype, (but Port 80 is used by Other process wich I cannot stop)
then I have to use onother port in order to create my project.

in point 08, I have no IIS installed, then this is not a problem.

Thanks in advance!!!

Options: ReplyQuote
Re: localhost:8080 getting redirected back to localhost
Posted by: Otomatic (Moderator)
Date: September 08, 2017 06:07PM

Hi,

> 1.- I changed port 80 to port 8080, into httpd.config on Apache
This is not the GOOD method.

> 2.- I read the point03, and Im not using Skype, (but Port 80 is used by Other process wich I cannot stop)

What is the result of:
- Right-click Wampmanager tray icon -> Tools -> Test port 80

------------------------------------------------------------------------------------------------------------
(W7 Pro 64 bit)-Wampserver 3.1.0 32 bit - Apache 2.4.27 - PHP 7.1.9/7.0.23/5.6.31 - MySQL 5.7.19 - MariaDB 10.2.8
Wampserver 3.1.0 64 bit - Apache 2.4.27 - PHP 7.1.9/7.0.23/5.6.31 - MySQL 5.7.19 - MariaDB 10.2.8
PhPMyAdmin 4.7.4 - MysqlDumper 1.24.5

Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote
Re: localhost:8080 getting redirected back to localhost
Posted by: Marco Gonzalez (---.alestra.net.mx)
Date: September 08, 2017 06:35PM

Hi,


Result is:

Your port 80 is used by a processu with PID 04

Your port 80 is actually used by:

Server: Microsoft-HTTPAPI/2.0


Thanks!!!

Options: ReplyQuote
Re: localhost:8080 getting redirected back to localhost
Posted by: Otomatic (Moderator)
Date: September 08, 2017 07:45PM

Hi,

Apply point 08. IIS is running.
It is installed by the System, not by you.

------------------------------------------------------------------------------------------------------------
(W7 Pro 64 bit)-Wampserver 3.1.0 32 bit - Apache 2.4.27 - PHP 7.1.9/7.0.23/5.6.31 - MySQL 5.7.19 - MariaDB 10.2.8
Wampserver 3.1.0 64 bit - Apache 2.4.27 - PHP 7.1.9/7.0.23/5.6.31 - MySQL 5.7.19 - MariaDB 10.2.8
PhPMyAdmin 4.7.4 - MysqlDumper 1.24.5

Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote
Re: localhost:8080 getting redirected back to localhost
Posted by: Marco Gonzalez (---.alestra.net.mx)
Date: September 08, 2017 10:13PM

Hi,

I have no IIS "check" in my "Windows features" , I researched about it, and I discovered the process which is using port 80, this proccess I can not stop it because I dont have permissions to do it due to the network policy, then I have to use another port, and this is my problem, I need to create an Alias with Localhost:8080(or other port)

but I dont know if it is possible

Options: ReplyQuote
Re: localhost:8080 getting redirected back to localhost
Posted by: Otomatic (Moderator)
Date: September 09, 2017 10:33AM

Hi,

From the moment you change the default port of the http protocol, you should always specify this port number in the url, for example:
'http://localhost:8080/'
'http://localhost:8080/phpmyadmin'
There is no way to free yourself from the addition of port 8080 in the url.
Nevertheless, if you want to edit aliases, I have already answered how this can be done.

To change the default http port, and to do it wherever needed, use the built-in Wampmanager tool.

Right-click Wampmanager tray icon -> Tools -> Use a port other than 80

------------------------------------------------------------------------------------------------------------
(W7 Pro 64 bit)-Wampserver 3.1.0 32 bit - Apache 2.4.27 - PHP 7.1.9/7.0.23/5.6.31 - MySQL 5.7.19 - MariaDB 10.2.8
Wampserver 3.1.0 64 bit - Apache 2.4.27 - PHP 7.1.9/7.0.23/5.6.31 - MySQL 5.7.19 - MariaDB 10.2.8
PhPMyAdmin 4.7.4 - MysqlDumper 1.24.5

Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote
Re: localhost:8080 getting redirected back to localhost
Posted by: Marco Gonzalez (---.alestra.net.mx)
Date: September 11, 2017 06:20PM

Ok, Alias are created, but my point is what can I do other in order users on my network can see my project?, when I was using port 80 I didn't have problem to create an alias and share the "IP/project", everybody could access via web.

Thanks

Options: ReplyQuote


Sorry, only registered users may post in this forum.