# Ankiconnect Error

**URL:** <https://forums.ankiweb.net/t/ankiconnect-error/70216>\
**Category:** Add-ons\
**Created:** [June 26, 2026, 1:28pm UTC](https://forums.ankiweb.net/t/ankiconnect-error/70216 "2026-06-26T13:28:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hooman](https://avatars.discourse-cdn.com/v4/letter/h/aeb1de/32.png) [@hooman](https://forums.ankiweb.net/u/hooman)\
**Post date:** [June 26, 2026, 1:28pm UTC](https://forums.ankiweb.net/t/ankiconnect-error/70216/1 "2026-06-26T13:28:51Z")

</div>

Hi. I use Anki 25.09.4 in Windows 10 and I receive an error about Ankiconnect add-ons when I open Anki:

“Failed to listen on port 8765. Make sure it is available and is not in use”.

Please help and guide me.

Thanks

---

<div class="post-metadata">

**Author:** ![Danika\_Dakika](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/danika_dakika/32/17815_2.png) [@Danika\_Dakika](https://forums.ankiweb.net/u/Danika_Dakika)\
**Post date:** [June 26, 2026, 3:14pm UTC](https://forums.ankiweb.net/t/ankiconnect-error/70216/2 "2026-06-26T15:14:31Z")

</div>

You should consult the add-on documentation and contact the add-on developer.

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [June 26, 2026, 3:49pm UTC](https://forums.ankiweb.net/t/ankiconnect-error/70216/3 "2026-06-26T15:49:05Z")

</div>

> [@hooman](#):
>
> “Failed to listen on port 8765. Make sure it is available and is not in use”.

Try changing the default port from Tools \> Add-ons \> Config. If that doesn’t help, you might need to allow connections to the port from the Windows Firewall: [https://www.youtube.com/watch?v=9llH5\_CON-Y](https://www.youtube.com/watch?v=9llH5_CON-Y)

Add-on docs: [~foosoft/anki-connect - Anki plugin to expose a remote API for creating flash cards - sourcehut git](https://git.sr.ht/~foosoft/anki-connect)

---

<div class="post-metadata">

**Author:** ![hooman](https://avatars.discourse-cdn.com/v4/letter/h/aeb1de/32.png) [@hooman](https://forums.ankiweb.net/u/hooman)\
**Post date:** [June 26, 2026, 8:15pm UTC](https://forums.ankiweb.net/t/ankiconnect-error/70216/4 "2026-06-26T20:15:36Z")

</div>

Thank you for your response and advice. What number do you think I should set the port to?

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [June 26, 2026, 8:35pm UTC](https://forums.ankiweb.net/t/ankiconnect-error/70216/5 "2026-06-26T20:35:53Z")

</div>

Try incrementing it by one a few times until something works (restart Anki after each try), then check firewall settings if that doesn’t help.
