My code:
package main
import (
"github.com/quic-go/quic-go/http3"
"log"
"net/http"
)
func main() {
mux := http.NewServeMux()
mux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
w.Write([]byte("Hello, HTTP/3!"))
})
log.Fatal(http3.ListenAndServeQUIC("0.0.0.0:8443", "/usr/local/pki/cert.pem", "/usr/local/pki/cert-key.pem", mux))
}
successfully started(no firewall)
Chrome has enabled quic.
Can't access from browser.(This site can’t be reached)