emailjs / emailjs-imap-client

Low-level JS IMAP client for all your IMAP needs.
MIT License
553 stars 122 forks source link

getaddrinfo ENOTFOUND imap.cox.net #219

Closed CAPI-48 closed 4 years ago

CAPI-48 commented 4 years ago

Trying connect to imap.cox.net with 993 port, but i got this error

Could not connect to server Error: Could not open socket: getaddrinfo ENOTFOUND imap.cox.net

Here is how i assign the instance imap.client = new imapConnector('imap.cox.net', 993, { auth: { user: 'lkhen***@cox.net', pass: '*********', }, useSecureTransport: true, requireTLS: true, });

Also without useSecureTransport and requireTLS same problem.

CAPI-48 commented 4 years ago

UPD: same with imap.windstream.net / 993 but imap.mail.com / 993 works, any ideas?

MarcoCatalan commented 4 years ago

That looks like a problem with your DNS resolution rather than a problem with the library

What happens if you try to open the connection with telnet? telnet imap.cox.net 993

CAPI-48 commented 4 years ago

Capture123 yes, you are right!!

also i tried to login with mozilla thunder bird, same thing!

but, in my virtual machine located in this PC where i have the problem, all works fine, maybe i need to change something for fix that, can you help me?

thanks!

UPD:

Changes which fix this problem - > change network from private to public and set up DNS in my case 1.1.1.1 Thank you Marco, have a nice day!

That looks like a problem with your DNS resolution rather than a problem with the library

What happens if you try to open the connection with telnet? telnet imap.cox.net 993