Server port

Report a typo

After you've sent back the response, you need to specify the port number so that the server will listen to it for new requests.

// importing module ...

const server = http.createServer((request, response) => {/* Do server stuff... */});

/* Your code here */

Write the code that provides the server to listen to the 9999 port.

Enter a short text
___

Create a free account to access the full topic