randy3k / remote-atom

rmate for atom
https://atom.io/packages/remote-atom
MIT License
85 stars 16 forks source link

Files opening on different computer on same network #37

Open oalhait opened 7 years ago

oalhait commented 7 years ago

Hi, thanks for making this plugin, I've been using it for a while and it benefits my workflow greatly.

Recently, I've been having problems where my files are opening on a different student's computer (who happens to also be using port 52698 on the same network). Would you happen to know of any ways I could personalize my port so that I can be sure no other computers I'm unaware of will be on the same port (thus having my file open in the wrong place)?

Thanks in advance.

randy3k commented 7 years ago

It is a known issue for the rmate protocol. See https://github.com/textmate/rmate/pull/38 and https://github.com/textmate/rmate/issues/15

If you are using Open SSH 6.7+, try https://github.com/randy3k/remote-atom/issues/32 Otherwise, my best advice is to check carefully if the port is forwarded successfully. You could also change the working port to another "random" number.

oalhait commented 7 years ago

I actually just got this to work. Changing the port didn't work for some reason last night, but I made a file called ~/.rmate.rc and simply changed the port as is seen on the rmate repo.

Just a suggestion: it would probably be helpful to make users aware of how to change the port they're using by putting the above link in the README somewhere.

Thanks for your help @randy3k !