Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server-host=* doesn't bind to ipv6 #3203

Open
steve-chavez opened this issue Feb 2, 2024 · 0 comments
Open

server-host=* doesn't bind to ipv6 #3203

steve-chavez opened this issue Feb 2, 2024 · 0 comments
Labels

Comments

@steve-chavez
Copy link
Member

steve-chavez commented Feb 2, 2024

Problem

We document that * should bind to ipv4 and ipv6. However ipv6 doesn't work, only ipv4:

$ PGRST_SERVER_HOST='*' postgrest-with-postgresql-16 postgrest-run
$ curl localhost:3000/projects  --ipv4 -I
HTTP/1.1 200 OK

$ curl localhost:3000/projects  --ipv6 -I
curl: (7) Failed to connect to localhost port 3000 after 0 ms: Connection refused

Notes

Currently only *6 binds to ipv6 and ipv4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant