How to change port 8080 to some other port #894
Replies: 2 comments
-
Yep, wordpress has some well-established behavior of embedding the initial setup URL in the database itself. You'll need to use a plugin, a tool like WP-CLI, or good old find+replace in the DB directly in order to correct it. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your response @tianon, I ultimately opted for a different solution. I created a simple image based on docker:dind. The container will run the docker-compose shared in my initial question. Now, I can redirect the page to any desired port. I'll leave the link to my solution in case it proves helpful to anyone: |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm running the following docker-compose. My goal is to change the exposed port of the service from 8080 to another value, for example, 8081. However, when I make this change and access it through http://localhost:8081/, I'm automatically redirected to http://localhost:8080/. It seems there's some internal configuration or redirection that is forcing the use of port 8080. How can I troubleshoot this issue and ensure that my application runs correctly on the new port?
Beta Was this translation helpful? Give feedback.
All reactions