You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I follow the instructions and successfully had the code server setup on my rarspberry pi.
However there is an issue that bothers me a lot: When I enable the code-server.service, every time I reconnect the raspberry pi and my ipad using Type-C wire, the code server won’t work and the code server process created before is still running and occupying the 8080 port. I have to run “sudo fuser -k 8080/tcp” every time this happens. Is there any way that when I reconnect, it automatically starts a new code server process and kill the old one? Thank you
The text was updated successfully, but these errors were encountered:
If your iPad is new enough to run the Shortcuts app then it will have an "SSH and run command" action, you can make this run sudo fuser -k 8080/tcp. You can make it so that whenever the iPad "connects to a USB accessory" it will run this Shortcut. There is no native way to make sure this "USB accessory" is the Raspberry Pi, although I'm pretty sure an app called Powercuts has a way to check the MAC address of the accessory as an action.
Hi, I follow the instructions and successfully had the code server setup on my rarspberry pi.
However there is an issue that bothers me a lot: When I enable the code-server.service, every time I reconnect the raspberry pi and my ipad using Type-C wire, the code server won’t work and the code server process created before is still running and occupying the 8080 port. I have to run “sudo fuser -k 8080/tcp” every time this happens. Is there any way that when I reconnect, it automatically starts a new code server process and kill the old one? Thank you
The text was updated successfully, but these errors were encountered: