[Question] Docker redirects automatically from port 8000 to 8080 #634
kevinadhiguna
started this conversation in
General
Replies: 2 comments 2 replies
-
Did you first setup WordPress using |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hey guys, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am trying to install and execute Wordpress, MySQL, PHPmyAdmin using
docker-compose
.However, if I access http://localhost:8000 (Wordpress), it redirects me to http://localhost:8080 (PHP my admin).
I tried to change the port of PHP my Admin to 5000 then ran it. Afterwards, http://localhost:8000 (Wordpress) still redirected me to http://localhost:8080 (no services were running on this port).
I do not do port forwarding or installing web server such as Nginx. By the way, before adding the
phpmyadmin
service, http://localhost:8000 opens Wordpress and I had no issues.This is the network tab when I open http://localhost:8000 (not 8080 although the picture shows http://localhost:8080) :
http://localhost:8000 got a status code 301 then it redirected me to http://localhost:8080 with the status code 200 (OK).
Could you please give me a clue what went wrong? Any help is appreciated!
System Information :
Another very similar issue in Windows 10 Pro : https://stackoverflow.com/questions/65921631/docker-redirect-automatically-from-port-8000-to-8080-docker-bug
Beta Was this translation helpful? Give feedback.
All reactions