node.js - Node http server responds slower when specifying host parameter -
if this:
const server = app.listen(3000, '127.0.0.1');
the response time more 500ms.
but when this:
const server = app.listen(3000);
then response time ~30ms.
what reason?
note: response time measured postman
Comments
Post a Comment