Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XAMPP when configured to port 8080 and hosts file (and WordPress-mu install) issue

Tags:

xampp

I am trying to install WordPress MU in my XAMPP localhost server (that is configured to port 8080).

Using this address in the browser >>http://localhost:8080/wordpress-mu/<< gets this response >>WPMU only works without the port number in the URL.<<

This is the last line in my hosts file: 127.0.0.1 localhost.localdomain

(This points to my IIS7 localhost server not to my XAMPP local host)

I am guessing I need to add another entry in this hosts file to configure this for XAMPP and WordPress MU but am not sure what it should be?

like image 827
rpd Avatar asked Mar 04 '10 10:03

rpd


People also ask

How do I change my WordPress from 80 to 8080?

The NGINX server context use listen to set the TCP port number of a virtual host. To move WordPress from port 80 to 8080, the NGINX listen property needs to be set to 8080. Open your NGINX configuration file for your WordPress site and change the listen property to 8080. Saves your changes and reload NGINX.


1 Answers

Are you using IIS at all?

If not, just Stop the Server and point your XAMPP to port 80.

If you are, you can do the reverse, just open Default Website properties and in the Website Bindings just change 80 to 8080.

In your XAMPP instalation change the port to 80:

  • Open C:\XAMPP\APACHE\httpd.conf
  • Search for Listen (default instalation, on line 47)
  • Change the port
  • Restart Apache
like image 158
balexandre Avatar answered Nov 03 '22 11:11

balexandre