Connection refused when trying to 'ratom filename'


Hello everyone,

This question has been encountered and addressed on other forums, but the solutions didn’t help me.

I’m running an ec2 instance of c4.large and I am trying to make the thing work with Atom using remote-atom

I used this command to ssh into the instance ( I supplemented my own info in the { } brackets):

ssh -i {path-to-keyfile}.pem -R 52698:localhost:52698 ec2-user@{instance-ip}

And then I wanted to be able to do things like

ratom helloworld.txt

And have the file pop up in the editor, but instead I get the following error

[ec2-user@ip-172-31-20-29 test]$ ratom helloworld.txt
/usr/local/bin/ratom: connect: Connection refused
/usr/local/bin/ratom: line 384: /dev/tcp/localhost/52698: Connection refused
Unable to connect to TextMate on localhost:52698

It would be much appreciated if someone could help me figure this out.



You might also check in at the GitHub repo. You’re more likely to catch people with experience with that package.