[GH-ISSUE #1517] Webserver only listens on legacy IPv4 #946

Closed
opened 2026-03-02 11:53:55 +03:00 by kerem · 1 comment
Owner

Originally created by @tbrtje on GitHub (Jun 2, 2025).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/1517

Describe the Bug

The docker image only listens on IPv4 0.0.0.0 instead of [::], which means it is only reachable via legacy IPv4.

Steps to Reproduce

  1. deploy the default docker image
  2. try to access karakeep using the container IP
  3. ECONNREFUSED

Expected Behaviour

I expect a server to listen on all available addresses by default.

Screenshots or Additional Context

No response

Device Details

No response

Exact Karakeep Version

latest

Have you checked the troubleshooting guide?

  • I have checked the troubleshooting guide and I haven't found a solution to my problem
Originally created by @tbrtje on GitHub (Jun 2, 2025). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/1517 ### Describe the Bug The docker image only listens on IPv4 0.0.0.0 instead of [::], which means it is only reachable via legacy IPv4. ### Steps to Reproduce 1. deploy the default docker image 2. try to access karakeep using the container IP 3. ECONNREFUSED ### Expected Behaviour I expect a server to listen on all available addresses by default. ### Screenshots or Additional Context _No response_ ### Device Details _No response_ ### Exact Karakeep Version latest ### Have you checked the troubleshooting guide? - [x] I have checked the troubleshooting guide and I haven't found a solution to my problem
kerem 2026-03-02 11:53:55 +03:00
Author
Owner

@MohamedBassem commented on GitHub (Jun 15, 2025):

Passing HOSTNAME=:: should change the interface that the server listens on to [::]

<!-- gh-comment-id:2974563803 --> @MohamedBassem commented on GitHub (Jun 15, 2025): Passing `HOSTNAME=::` should change the interface that the server listens on to `[::]`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#946
No description provided.