Https Localhost11501 2021 ((full)) -

https.createServer(options, (req, res) => if (req.url === '/2021') res.writeHead(200, 'Content-Type': 'text/html' ); res.end('<h1>Welcome to the 2021 local project</h1>'); else res.writeHead(404); res.end();

This specifies the protocol — Hypertext Transfer Protocol Secure. Unlike HTTP, HTTPS encrypts traffic between your browser and the server. On localhost (your own computer), HTTPS is often set up with self-signed certificates for testing web applications that require secure contexts (e.g., accessing geolocation, service workers, or HTTP/2). https localhost11501 2021

Beverley Naidoo