Categories
apple debian Ubuntu

remove running process

service running when it is not supposed to.

especially web servers called from vscode and not killed afterwards:

lsof -i :<PORT>

lsof lists pid and port.

Categories
Homebridge

Homebridge on Pi Zero

Messing around with homebridge and I had an error Failed to check registry.npmjs.org for updates: “timeout of 10000ms exceeded”

on reddit:https://www.reddit.com/r/homebridge/comments/11j1bmm/failed_to_check_registrynpmjsorg_for_updates/

thanks to Metatropico, he suggested to turn off IPV6 and that solved that issue, thanks!

sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1