Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Which of the following is used to create a new HTTP server in Node.js?
Home
NodeJS Essentials
Which of the following is used to create a new HTTP server in Node.js?
0
votes
asked
May 25
in
NodeJS Essentials
by
rajeshsharma
Which of the following is used to create a new HTTP server in Node.js?
A) http.createServer()
B) http.createServer
C) http.newServer()
D) http.newServer
create
a
new
http
server
node
js
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
May 25
by
rajeshsharma
Answer: A
Explanation: The http.createServer() method is used to create a new HTTP server in Node.js.
...