spatie / ray

Debug with Ray to fix problems faster
https://myray.app
MIT License
555 stars 101 forks source link

Ray was unable to bind to the remote server's port (on Siteground) #797

Closed web-elements closed 12 months ago

web-elements commented 1 year ago

Describe the bug When I try to connect to any Siteground server using ssh key "Ray was unable to bind to the remote server's port. Is the port in use or is someone else using ray on this server?" But I can connect correctly through terminal on mac. I have seen https://github.com/spatie/ray/issues/685 and https://unix.stackexchange.com/questions/427189/how-to-cleanup-ssh-reverse-tunnel-socket-after-connection-closed but I don't have permission to do this thinks on a siteground server.

Versions Ray version (you can see this in "About Ray"): 2.4.0

To Reproduce Steps to reproduce the behavior:

  1. add a siteground server
  2. insert the data in the form (the same that I use in the terminal where is working)
  3. try to connect to the server
  4. See error

Expected behavior It should connect to server.

Desktop (please complete the following information):

jkbennemann commented 1 year ago

I do have the same issue with other hosters as well, not just siteground. I think this could be related to some kind of version incompatibilites.

The servers I tested run on

colinr-l commented 12 months ago

I have the same problem as other posters when trying to connect Ray to a Wordpress site on a remote server at Siteground. I am using Windows and am able to connect to remote server via ssh on Windows Powershell but get "Ray was unable to bind to the remote server's port" when trying to connect using Ray:

image