spatie / ray

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

Port was unable to bind to the remote server's port. How do I release the port? #685

Closed genesiscz closed 2 years ago

genesiscz commented 2 years ago

Describe the bug My internet dropped. After it has been restored, message didn't come, so I disconnected and tried to reconnect.

image

How do I release the dangling port? Is there a way to fix that at all?

greksazoo commented 2 years ago

Try to run this on remote server: sudo sh -c 'echo "StreamLocalBindUnlink yes" >> /etc/ssh/sshd_config' after reboot work perfect.