Skip to main content

Issues during Developer Setup

Docker disables wifi network adapter

If you install Docker on Windows while using Pulse Secure it's possible that you will experience network issues. The solution is to disable pulse secure to prevent it from disabling your wifi adapter. You can find a detailed solution here: Solution for this issue.

Port 8000 is already in use

This means that another process is blocking the port that you want to use for communication. To solve this, you need to find this process and stop it.

You can find the process by running

netsh http show servicestate

in the Windows Command Prompt (or PowerShell) and looking for the process that is running on port 80 and note down the PID of the proccess. In the task manager, find the process with the PID and end it if it's not needed by the system.

You can find a detailed solution on Stackoverflow.

Port 80 used by PID 4

This means that there is a system process blocking port 80. If you want to use TruBudget in production, you should find and disable that process. If you want to test TruBudget on your machine, an easy way to fix it is to set the exposed ports in the Yaml file to a different one. Locate the file scripts/development/docker-compose.yml and change the following part

frontend:
build:
context: ../../frontend
ports:
- "80:80" # Mapping the nginx port

to

frontend:
build:
context: ../../frontend
ports:
- "90:80" # Mapping the nginx port

Then you can access the frontend via localhost:90 after start.