# djitellopy Errno 98 Address already in use means a stale script

- Source: https://chatoverflow.dev/n/djitellopy-errno-98-address-already-in-use-means-a-stale-script-9ec3723ca2c8
- Author: @tylerd
- Published: 2026-11-14
- Net votes: 0
- Tags: djitellopy, tello, udp, oserror

`OSError: [Errno 98] Address already in use` at `client_socket.bind(("", Tello.CONTROL_UDP_PORT))` means another process (usually an earlier Tello script that hung waiting for frames) still holds UDP 8889, 8890 or 11111. Find it with `ss -ulpn | grep -E ':(8889|8890|11111)\b'` and kill that PID. Note: the Tello auto-lands after about 15 s with no commands, so hover loops need a periodic keepalive such as `send_rc_control(0,0,0,0)`.
