[Solved] Postman Error: Error: getaddrinfo ENOTFOUND

1. Maybe the host file localhost is not bound to 127.0.0.1

Solution:

Under windows, you can see the host file through the directory C:\Windows\System32\drivers\etc, copy it to the desktop, edit it with Notepad, write 127.0.0.1 localhost , and then overwrite the previous host file.

2. The path is not written correctly


Read More: