Skip to content

chore: support ipv6 for server in docker - #7589

Closed
ghost wants to merge 1 commit into
getredash:masterfrom
Airtm-Inc:master
Closed

ghost wants to merge 1 commit into
getredash:masterfrom
Airtm-Inc:master

Conversation

@ghost

@ghost ghost commented Dec 3, 2025 •

Copy link
Copy Markdown

What type of PR is this?

  • Bug Fix

Description

The listener address is hardcoded to IPv4-only (0.0.0.0) which breaks in an IPv6-only host. gunicorn supports the [::] host as a dualstack wildcard, so that's what I'm changing here.

How is this tested?

  • Unit tests (pytest, jest)
  • E2E Tests (Cypress)
  • Manually
  • N/A

Built the docker image locally and started it

@eradman

eradman commented Dec 5, 2025

Copy link
Copy Markdown
Collaborator

Even without this change IPv6 appears to be reachable

$ nc -zv -4 sfdev2.lan 5001
Connection to sfdev2.lan (192.168.2.23) 5001 port [tcp/*] succeeded!
$ nc -zv -6 sfdev2.lan 5001
Connection to sfdev2.lan (fd00:52::17) 5001 port [tcp/*] succeeded!

What is the output of docker ps for you? (with and without this change)

@eradman

eradman commented Dec 12, 2025

Copy link
Copy Markdown
Collaborator

Closing as not needed

@eradman eradman closed this Dec 12, 2025
@ghost

ghost commented Dec 12, 2025

Copy link
Copy Markdown
Author

Sorry I missed the notification, but this is in fact, needed. I am running this in an IPv6-only kubernetes cluster in AWS (EKS), and therefore have no access to docker ps.

@ghost ghost mentioned this pull request Dec 12, 2025
2 of 5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants