macbre / docker-nginx-http3

Stable and up-to-date root-less nginx with quic + http/3, google brotli compression, njs, GeoIP2, and Grade A+ SSL config
https://hub.docker.com/r/macbre/nginx-http3
165 stars 53 forks source link

curl: (7) QUIC: connection to ::1 port 8889 refused #142

Closed replete closed 3 weeks ago

replete commented 1 month ago

Spent hours trying to make this work, it just doesn't want to work.

After trying in my own repo, I thought I'd try run-docker.sh after downloading this repo - it has the wrong image (?) and doesn't work for me and not clear why.

Thanks for putting this out and presumably this wont get a response but urgghhh the README was so promising

docker run -it --rm ymuski/curl-http3 curl -kIL https://localhost:8889 --http3
curl: (7) QUIC: connection to ::1 port 8889 refused
macbre commented 3 weeks ago

@replete - I believe curl wants to connect using IPv6 (::1) instead of IPv4 (127.0.0.1). Plus the localhost in the URL refers to the container where the curl is being run - which likely does not have the HTTP server running.