Could it be a lingering Docker container? Could you check if there are any running containers when that happens?
Sometimes not all containers show especially if you somehow managed to spawn a zombie (Docker ps command, Portainer, nor Docker Desktop will show these). Can be a real pain in the backside to kill them. All you will see is a process and a port. Doubt that is the case but still best to be aware of their existence.
The database us the only thing running on docker, it is only running to serve up the database as the "no right joins" issue with Sqlite is annoying.
I do not deploy anything via docker currently.
Unfortunate it is usually exactly Docker fault (in case docker is used). Docker runs often in zombie mode and forget to accept restart/shutdown commands. Only a full docker restart helps.
That is not something Wappler can do about and we don’t want to force a complete docker restart on each project switch as then it will take 5 minutes to switch.
@apple I do feel you are speculating a lot lately without much exact proof, so please keep it facts based and not too theoretical about all possible things that might go wrong. So try to provide knowledge and responses that you have exactly experienced and can reproduce.
Even more so now with people using AI to deploy containers when they don't know what it is they are executing in the terminal.
Do note that I mean docker desktop on windows only. Docker on Mac and Linux is perfect. It is only the windows version of docker that is being neglected (because of the commercialization) and also because of the bad windows native support for Linux even with WSL2 it gets stuck all the time. Senns the open source Rancher Desktop is much better alternative.
But also the regular native processes on windows can behave badly and be difficult to kill, hence the getting stuck and keeping port 3000 open because then don’t respond to regular kill commands like on Mac and Linux and we have to wait and issue additional special taskkill commands to really get them killed.
Again this is only windows problem.