Open jifffffy opened 1 month ago
Are you able to bind to any port between 3000 and 3001 with other frameworks? Can you create a Next or Vite project for example?
yes, I am sure no ohter process bind port 3000 and 3001, it is ok when I run on the windows and mac. this is not the first my remotion project, but this is the first in the wsl. I reboot the computer. but I still get the error. thanks very much your quickly replay!
in get-port.ts file using the host addrest 127.0.0.1 and 0.0.0.0. cause that socket connect timeout 127.0.0.1 and 0.0.0.0 in wsl cannot access with any port. should use a real ip address. if I remove the ipv4 address, everything is ok.
Thanks for investigating - What is a real IP address then? If localhost is not available?
Maybe we should copy the logic from Vite
The real address can get in the wsl as follows:
ip route show | grep -i default | awk '{ print $3}'
so it is good passing as a flag to the cli.
Error: No available ports found when I run npm start.
Bug Report 🐛
I follow the office doc to create a test project as follows:
but i got an error when I run
npm start
:other infomation: os: ubuntu 24.04 remotion: 4.0.212