Direction: Choose the correct option
Q1.
Which method creates an HTTP server in Node.js?
Direction: Choose the correct option
Q2.
What does the request listener function receive?
Direction: Choose the correct option
Q3.
How do you make the server listen on a port?
Direction: Choose the correct option
Q4.
What is the default hostname if not specified in `server.listen()`?
Direction: Choose the correct option
Q5.
What does `res.end('Hello')` do?
