Cannot connect to IMAP mail server

I tried to configure Jira to connect to our IMAP mail server host, but got "ConnectException: Connection refused: connect" error.

I followed the steps on https://confluence.atlassian.com/display/JIRA061/Connecting+to+SSL+services to add domain cert into the keystore, but still got same error.

Any idea about what might be the problem?

Thanks!

ConnectException: Connection refused: connect

1 answer

0 votes

That error means the server is there and listening, but is not set up to accept connections, either from your server, or from the user you tried to use (or both).

Try a telnet to that server and port and see if you can log in. But whatever you do, you'll need to talk to your IMAP server admin

The host name I am trying to connect to is the load balancer not the name of the client access server. Is JIRA load balancer aware?

Thanks!

It shouldn't matter. A load balancer will be presenting a consistent name and interface, even though the request may end up being handled by different servers or services.

The problem is that you're account is not set up to log in to the imap servers, or you can't reach them

Thanks Nic for your reply!

I tried to make JIRA connect to one of the IMAP servers behind the load balancer, and it succeed. But when I switched back to host name, which is a array of three servers, it failed again.

Any suggestions?

Thanks!

There's something wrong in the setup of the load balancer. Jira REALLY doesn't care what's behind the host/user/password details, as long as it responds as a standard imap service.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,870 views 12 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot