spatie / ray

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

Custom port not working on remote server #517

Closed nnerijuss closed 3 years ago

nnerijuss commented 3 years ago

Describe the bug After setting custom port in ray app and connecting to remote server via ssh, ray still creates process with default port. When another user connects to remote server "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?" error appears.

Versions App version 1.14.7

Server: Ubuntu 20.04

To Reproduce Steps to reproduce the behaviour:

  1. Go to settings and set custom port
  2. Connect to remote server
  3. List used ports in server
  4. Default ray port appears to be used by ray process

Expected behaviour Ray create a process with a custom port

Desktop (please complete the following information): Tested on different machines Windows 10 and MacOS big sur

AlexVanderbist commented 3 years ago

Hi @nnerijuss, it looks like the remote port was hard-coded and didn't respect the custom port that's configured in settings. I've just pushed a fix for this so it will be tagged and released soon :)

nnerijuss commented 3 years ago

@AlexVanderbist thanks for super fast fix.

AdrianMrn commented 3 years ago

This will be included in 1.16.0, releasing this afternoon!