diff --git a/doc/api/http2.md b/doc/api/http2.md index 61f2bd8ec8f1d9..5efcd5fdcbe421 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -3126,7 +3126,7 @@ const client = http2.connect('http://localhost:8001'); // for CONNECT requests or an error will be thrown. const req = client.request({ ':method': 'CONNECT', - ':authority': `localhost:${port}`, + ':authority': 'localhost:8000', }); req.on('response', (headers) => {