[wp-trac] [WordPress Trac] #47883: Can't install WordPress on port other than 80

WordPress Trac noreply at wordpress.org
Thu Aug 15 16:06:03 UTC 2019


#47883: Can't install WordPress on port other than 80
----------------------------+-----------------------------
 Reporter:  DanFromGermany  |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  General         |    Version:  5.2.2
 Severity:  normal          |   Keywords:  needs-patch
  Focuses:                  |
----------------------------+-----------------------------
 Trying to do local development (using Docker) on port 8080.

 Dock images: php-fpm, nginx, mysql.
 Using a fresh install, with a blank database and wp-config.php removed,
 going to http://localhost:8080/ forwards to http://localhost/ which is
 apparently not accessible.

 Please remove this and let me install WordPress on any port.
 To verify this is a Wordpress problem and not nginx related, consider the
 following:

 http://localhost:8080/license.txt does show up perfectly

 http://localhost:8080/test.php
 A testscript containing nothing more than `<?php phpinfo();` also works as
 expected:

 http://localhost:8080/ which should forward me to setup routine, does not
 work, instead it does redirect:

 Content-Type: text/html; charset=UTF-8
 Date: Thu, 15 Aug 2019 14:10:27 GMT
 Location: http://localhost/
 Server: nginx/1.17.2
 X-Powered-By: PHP/7.3.8
 X-Redirect-By: WordPress

 I don't know how other people deal with this major issue, this is a kinda
 wtf moment for me.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47883>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list