ruby - Connection refused when using imap.rb to connect to imap.google.com -
i'm trying connect gmail account (via ruby-gmail gem, gmail gem, gmail_xoauth gem on oauth 2.0, each method uses imap.rb) , getting:
c:/ruby21-x64/lib/ruby/2.1.0/net/imap.rb:1045:in `initialize': no connection made because target machine actively refused it. - connect(2) "imap.gmail.com" port 993 (errno::econnrefused)
on gmail account have:
- ensured can accessed through web login
- ensured it's activated
- enabled imap
- allowed access insecure apps
in connection have:
- ensured made on ssl
- ensured uses correct login details , tokens applicable
- tried ports 993 , 465
what else try? how rule out firewall being issue, without having control on it?
.. (errno::econnrefused)
... how rule out firewall being issue, without having control on it?
it firewall. error message says connection service got actively refused. since working me doubt google refusing service must firewall in between.
Comments
Post a Comment