🐛 Bug Report: Backend port is not taken into consideration everywhere #479

Closed
opened 2025-10-08 00:10:30 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @edbourque0 on GitHub.

Reproduction steps

  1. Create docker container using default configuration.
  2. Change backend port in the .env file (BACKEND_PORT) to something else than 8080.
  3. Change the backend url to the port used above in the .env file (INTERNAL_BACKEND_URL) ex. http://127.0.0.1:8081.

Expected behavior

This should change the backend port everywhere in the code so that the backend is accessible from this port.
When the port is changed, the container throws errors saying that 127.0.0.1:8080 is not accessible, but I just changed the port to 8081 so the frontend should be trying a connection on 127.0.0.1:8081.
*I have very limited coding knowledge but I assume that there is a 8080 hardcoded in the code and it should be referencing the environment variable.

Actual Behavior

The frontend should be tying to connect to the port I just change in the .env file

image

image

Originally created by @edbourque0 on GitHub. ### Reproduction steps 1. Create docker container using default configuration. 2. Change backend port in the .env file (BACKEND_PORT) to something else than 8080. 3. Change the backend url to the port used above in the .env file (INTERNAL_BACKEND_URL) ex. http://127.0.0.1:8081. ### Expected behavior This should change the backend port everywhere in the code so that the backend is accessible from this port. When the port is changed, the container throws errors saying that 127.0.0.1:8080 is not accessible, but I just changed the port to 8081 so the frontend should be trying a connection on 127.0.0.1:8081. *I have very limited coding knowledge but I assume that there is a 8080 hardcoded in the code and it should be referencing the environment variable. ### Actual Behavior The frontend should be tying to connect to the port I just change in the .env file ![image](https://github.com/user-attachments/assets/b5026ab6-dc33-433c-be6f-4472174b16af) ![image](https://github.com/user-attachments/assets/6d3dd3b4-333c-47a0-8bdd-5ddc6e3dcf52)
OVERLORD added the bug label 2025-10-08 00:10:30 +03:00
Author
Owner

@stonith404 commented on GitHub:

Thanks for the report. This should be fixed in v0.5.3

@stonith404 commented on GitHub: Thanks for the report. This should be fixed in `v0.5.3`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id-pocket-id-1#479