Author Topic: unable to connect to localhost:143  (Read 5481 times)

Offline zookeeper

  • Newbie
  • *
  • Posts: 8
unable to connect to localhost:143
« on: March 18, 2009, 02:14:00 PM »
I've installed RC on a Windows 2008 server with IIS7, PHP, PostgreSQL, MS Exchange 2007 as the mail server.  The problem I'm having with RC is I can't get past this error:

fsockopen() [function.fsockopen]: unable to connect to localhost:143(A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ) in C:\inetpub\wwwroot\rcm\program\lib\imap.inc on line 611
IMAP connect:  NOT OK(Could not connect to localhost at port 143: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. )

Anyone with any info on this error?

Offline Julius Caesar

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 498
    • http://www.de-keizer.net/
unable to connect to localhost:143
« Reply #1 on: March 19, 2009, 05:31:06 AM »
What happens when you execute the following command on the server:

Code: [Select]
telnet localhost 143
If you get a similar error, IMAP is probably not activated in Exchange.
Julius Caesar

You can download the Groupvice4 theme here.
Sie können Groupvice4 hier he

Offline zookeeper

  • Newbie
  • *
  • Posts: 8
unable to connect
« Reply #2 on: March 19, 2009, 11:13:02 AM »
I get the following when I issue the command telnet localhost 143

* OK The Microsoft Exchange IMAP4 service is ready.

Offline zookeeper

  • Newbie
  • *
  • Posts: 8
unable to connect to localhost:143
« Reply #3 on: March 19, 2009, 03:35:37 PM »
When I do this:

https://localhost/rcm

on the computer that is running everything, I get the message that the browser does not accept cookies.  I have ckecked and the browsers (IE7, FF3, Safari4) all have the option to accept cookies turned on.

Offline Julius Caesar

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 498
    • http://www.de-keizer.net/
unable to connect to localhost:143
« Reply #4 on: March 19, 2009, 05:31:29 PM »
Quote from: zookeeper;17885
When I do this:

https://localhost/rcm

on the computer that is running everything, I get the message that the browser does not accept cookies.  I have ckecked and the browsers (IE7, FF3, Safari4) all have the option to accept cookies turned on.


Please read this thread for more inromation about this: http://www.roundcubeforum.net/pending-issues/4108-problems-cookies-login.html
Julius Caesar

You can download the Groupvice4 theme here.
Sie können Groupvice4 hier he

Offline zookeeper

  • Newbie
  • *
  • Posts: 8
unable to connect to localhost:143
« Reply #5 on: March 20, 2009, 11:49:11 AM »
I read the thread that you pointed out and I made a change to the session_domain config variable to be the same as what the URL that I'm using when not at the local computer.

This made no difference.  I still get the IMAP connection failure message.  Is there a setting in IIS that might be causing this to fail?  Do I need to specify that IIS uses the IMAP protocol?  I can try that.  I really want this to work.

Offline zookeeper

  • Newbie
  • *
  • Posts: 8
unable to connect -- FIXED!
« Reply #6 on: March 20, 2009, 01:56:30 PM »
Out of frustration, I had the server bounced and now everything works.  I guess some of the settings don't take effect until the server/computer has been cycled.  I'm guessing the change I made to the session_domain config variable is what fixed the issue after the server was re-booted.

Thanks for the reply's on what I should try next.:D