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

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

Ansible warning on jinja2 braces on when -