---
title: "Discussion on \"Error: connect ECONNREFUSED 127.0.0.1:578 or  Error: getaddrinfo ENOTFOUND smpt.gmail.com\" | Hashnode"
description: "Discussion on \"Error: connect ECONNREFUSED 127.0.0.1:578 or  Error: getaddrinfo ENOTFOUND smpt.gmail.com\". The error message \"getaddrinfo ENOTFOUND smpt.gmail.com\" indicates that the hostname \"smpt.gmail.com\" could not be resolved. There seems to be a typographical error in the hostname. It should be \"smtp.gmail.com\" instead of \"smpt.gmail.com\".\nTo resolv..."
url: "https://hashnode.com/posts/error-connect-econnrefused-127001578-or-error-getaddrinfo-enotfound-smptgmailcom/64b7134a3747f6947bfb2bee"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Error: connect ECONNREFUSED 127.0.0.1:578 or Error: getaddrinfo ENOTFOUND smpt.gmail.com](https://devverse.hashnode.dev/error-connect-econnrefused-127001578-or-error-getaddrinfo-enotfound-smptgmailcom?utm_source=hashnode&utm_medium=feed)

The error message "getaddrinfo ENOTFOUND smpt.gmail.com" indicates that the hostname "smpt.gmail.com" could not be resolved. There seems to be a typographical error in the hostname. It should be "smtp.gmail.com" instead of "smpt.gmail.com". To resolv...

Jul 18, 2023 · 1 min read · devverse.hashnode.dev  
Read the article

-   [#error](https://hashnode.com/tag/error)
-   [#nodemailer](https://hashnode.com/tag/nodemailer)
-   [#econnrefused](https://hashnode.com/tag/econnrefused)
-   [#econrefused](https://hashnode.com/tag/econrefused)
-   [#getaddrinfo](https://hashnode.com/tag/getaddrinfo)

## Written by

[Devansh Shrivastava](https://hashnode.com/@devansh0331)

@devansh0331

  
[View profile](https://hashnode.com/@devansh0331)

Web developer Enthusiast

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
