Ports not opening

Despite setting these ports

ports:  
  - port: 4000
    onOpen: open-browser
  - port: 5001
  - port: 8080
  - port: 9099

I have to manually add the ports there

Did I do something wrong?

Hi @louis030195! We’re investigating here: detecting state · Issue #6778 · gitpod-io/gitpod · GitHub

Do you use VS Code Desktop? In this case port management is done by Remote SSH which is not aware of .gitpod.yml.