Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Error: connect ECONNREFUSED 192.168.0.16:9990 #310

@jethr0-1

Description

@jethr0-1

I am trying to run an SMTP server with the following options:
maildev --ip 192.168.0.16 --outgoing-port 9990 --outgoing-host 192.168.0.16

It seems to run fine at first. Sending emails through port 1025 appears in the web interface. But when trying to relay the emails it spits out the following error:

events.js:174
      throw er; // Unhandled 'error' event
      ^

Error: connect ECONNREFUSED 192.168.0.16:9990
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)
Emitted 'error' event at:
    at SMTPConnection._onError (/usr/local/lib/node_modules/maildev/node_modules/nodemailer/lib/smtp-connection/index.js:547:14)
    at Socket._socket.on.err (/usr/local/lib/node_modules/maildev/node_modules/nodemailer/lib/smtp-connection/index.js:252:18)
    at Socket.emit (events.js:198:13)
    at emitErrorNT (internal/streams/destroy.js:91:8)
    at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
    at process._tickCallback (internal/process/next_tick.js:63:19)

And on the web interface it says "Relay failed: undefined"
Does anybody know the fix to this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions