remote-vscode icon indicating copy to clipboard operation
remote-vscode copied to clipboard

Connection Refused

Open vedantroy opened this issue 6 years ago • 2 comments

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?

vedantroy avatar Feb 18 '19 22:02 vedantroy

any solution?

mubasshir avatar Jun 04 '19 07:06 mubasshir

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

pihomeserver avatar Jan 04 '21 16:01 pihomeserver