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

Popular posts from this blog

html - How to custom Bootstrap grid height? -

javascript - pass values from mssql to views in node -

javascript - Understanding ExtJS Framework Syntax -