Estoy usando el puerto 5000 en desarrollo pero me sale un error ¿qué onda?
Error response from daemon: Ports are not available: exposing port TCP 0.0.0.0:5000 -> 0.0.0.0:0: listen tcp 0.0.0.0:5000: bind: address already in use
lsof -i:5000
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
ControlCe 85856 user10 26u IPv4 0x4ff853972c8bedd 0t0 TCP *:commplex-main (LISTEN)
ControlCe 85856 user10 27u IPv6 0x4ff85430b21e97d 0t0 TCP *:commplex-main (LISTEN)
¿Qué es esto?
Resulta que desde Monterey se agregó una función llamada AirPlay que está ocupando el puerto.
System Preference > Sharing > AirPlay Receiver > desmarcar la opción
Con esto vuelve a funcionar, pero… pensando a futuro, otros van a tener el mismo problema así que lo mejor es cambiar el lado del desarrollo.
