-
Notifications
You must be signed in to change notification settings - Fork 494
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: connect ECONNREFUSED 192.168.0.16:9990 #310
Comments
It's saying that the connection is refused (ECONNREFUSED). What do you have running on port 9990 to receive the relayed emails? |
Nothing is running on port 9990 except the --outgoing-port option set in the command |
The outgoing host/port settings are to indicate the mail server that you are relaying to. It is expecting that you have a mail server running on 192.168.0.16:9990, and because there is nothing running, the connection is refused. |
Ahh I see, thank you. I will try without the outgoing port |
But now when I send an email to myself through my SMTP server it doesn't show up in my inbox. Have I missed an option or argument or something? |
I'm not sure I can help, but can you rephrase that to be more clear? Does "my SMTP server" mean your instance of MailDev or another email server? Is "my inbox" in MailDev or on another server? Can you relay without a MailDev error when you set the other server as the outgoing? |
Sorry, there is no other server, I only have MailDev. I found out what the problem could be: |
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:
And on the web interface it says "Relay failed: undefined"
Does anybody know the fix to this?
The text was updated successfully, but these errors were encountered: