Bug description
FloCafe fails to start on Windows when ports 3001 and 3002 are already occupied by another process.
In my case, the ports were occupied by a Docker container running in the background from another project.
The startup output showed:
[kill-ports] Port 3001 is not free.
[kill-ports] Port 3002 is not free.
Instead of starting on the next available port, such as 3003, FloCafe failed to start.
Steps to reproduce
- Run FloCafe in the Windows development environment using
npm run dev.
- Start another application or Docker container that occupies ports
3001 and 3002.
- Start FloCafe.
- Observe the startup output.
- FloCafe fails to start instead of switching to the next available port, such as
3003.
Expected behavior
FloCafe should detect that ports 3001 and 3002 are already occupied and automatically start on the next available port (3003`) instead of failing to start.
Actual behavior
FloCafe fails to start when ports 3001 and 3002 are already occupied.
The startup output shows:
[kill-ports] Port 3001 is not free.
[kill-ports] Port 3002 is not free.
Instead of switching to an available port such as 3003, the application fails to start.
Operating System
Windows
Installation Method
GitHub / direct installer
FloCafe version
3.3.1 - beta 3
OS version & architecture (optional)
Windows 11 64-bit
Relevant logs or printer output
No response
Screenshots & hardware context
No response
Bug description
FloCafe fails to start on Windows when ports
3001and3002are already occupied by another process.In my case, the ports were occupied by a Docker container running in the background from another project.
The startup output showed:
[kill-ports] Port 3001 is not free.
[kill-ports] Port 3002 is not free.
Instead of starting on the next available port, such as
3003, FloCafe failed to start.Steps to reproduce
npm run dev.3001and3002.3003.Expected behavior
FloCafe should detect that ports
3001and3002are already occupied and automatically start on the next available port (3003`) instead of failing to start.Actual behavior
FloCafe fails to start when ports
3001and3002are already occupied.The startup output shows:
[kill-ports] Port 3001 is not free.
[kill-ports] Port 3002 is not free.
Instead of switching to an available port such as
3003, the application fails to start.Operating System
Windows
Installation Method
GitHub / direct installer
FloCafe version
3.3.1 - beta 3
OS version & architecture (optional)
Windows 11 64-bit
Relevant logs or printer output
No response
Screenshots & hardware context
No response