What is VFS connection does not exist on AWS C9


I start run server on terminal
and got this when preview


Could you make sure that you’re:

  1. Running the server on (NOTE: this is different from c9.io, which uses
  2. Opening the preview in a browser that currently has the IDE that you’re previewing from open



I am also facing the same issue. On the same browser on which the IDE is open, I am able to open the URL in a new tab, but not able to open it in a different browser or say Postman app. How to do this?




I have the same problem on aws Cloud9


AWS Cloud9’s preview URL requires that you have the IDE open (which establishes the VFS connection) and that you have a session available to what you’re using to access the endpoint that’s logged into the AWS console with access to the IDE. Because of this, we do not recommend using this to test API endpoints or other services which access this endpoint without the ability to log into the AWS console.

Instead, if you want to test an API endpoint, we recommend sharing the app over the internet (rather than through the Preview URL). You can find instructions on how to do this here: https://docs.aws.amazon.com/cloud9/latest/user-guide/app-preview.html#app-preview-share