rafaelmaiolla / remote-vscode

A package that implements the Textmate's 'rmate' feature for Visual Studio Code.
MIT License
259 stars 33 forks source link

Connection Refused #69

Open vedantroy opened 5 years ago

vedantroy commented 5 years ago

I am trying to edit files on an AWS EC2 instance.

I run the "Remote: Start Server" command.

I then connect to my AWS instance. Afterwards, I run "rmate index.js".

However, I get the following error:

/usr/local/bin/rmate: connect: Connection refused
/usr/local/bin/rmate: line 390: /dev/tcp/localhost/52698: Connection refused
Unable to connect to TextMate on localhost:52698

What can I do to fix these errors?

mubasshir commented 5 years ago

any solution?

pihomeserver commented 3 years ago

In my case the port forwarding was not well defined. I could not see the opened port via netstat. A redefinition of tunnel solved the issue