Problems setting up Microsoft® Exchange® ActiveSync®

  1. Home
  2. Knowledge Base
  3. GMS
  4. Problems setting up Microsoft® Exchange® ActiveSync®

Question

I am currently trying to set up Microsoft® Exchange® ActiveSync® for use on my Android device, but it keeps failing whilst validating my settings.

Answer

The first thing to start with here is to ensure that the correct settings have been entered during the setup of the Microsoft® Exchange® ActiveSync® on your mobile device. Please ensure that you enter the port number for GMS Collaboration when entering the server address, so for example:Mail.domain.com:8376

(Note: By default, the ports for GMS Collaboration are 8376 for non-secure connections and 8377 for secure (SSL) connections)

Aside from the above, there are some Android devices that do not allow you to enter the port number in this manner (or not at all). In these cases, you will need to use an IP address and Port Flexibility feature within GMS called the IP Connection File. You can find this feature in the GMS Administration interface under System Administration > Performance > Connections. Please see the following steps on how to configure this feature in order to get some Android devices to connect without having to explicitly enter the port number(s):

Before going ahead with setting this feature up, youll need to ensure that you have more than one IP address assigned to your network card, how you configure this depends on how your network is configured. You will also need to ensure that ports 80 and 443 are not in use on the additional IP. Gordano Support can provide assistance and any clarification with this.

Once the above is configured:

1. Enable the feature by clicking the Use IP Connection file radio button and click update settings. PLEASE NOTE: Once you have made this change, it cannot be reversed.
2. At this point, please restart all of your GMS services. The easiest method to do this is to open a command line, then use the cd command to point it at the gordanoin directory. From here issue a mail stop mail start command (without quotes). Please leave the command line open as youll need to do this again later
3. The next thing to do is to add a rule to your IP connection settings which tells GMS to use GMS Collaboration on another IP and ports. You can optionally add a note (comment) to separate the rules you see in the list by clicking on Add Comment and giving it a name. From here, click Add New.
4. In the small window that appears with Add Connections as a heading, select GMS Collaboration from the dropdown menu you see here.
5. Next, you will be asked for details pertaining to the Protocol, Domain(s), security type, Host name, IP address and External IP address. The following is a typical example of how you would set these values.

NON-SECURE

Protocol: GMS Collaboration
Domains: (select the domain you wish to set this rule for)
Security Type: NONE
Host Name: (Leave blank as this is usually dictated by DNS Settings, any potential issues can be addressed)
IP Address: (Secondary IP address configured to your network card, add :80 to the end of any IP used here) Leave Allow Local Clients ticked
External IP Addresses: (Leaving this blank will tell GMS to use any available external IP addresses)

SECURE

Protocol: GMS Collaboration
Domains: (select the domain you wish to set this rule for)
Security Type: TLS
Host Name: (Leave blank as this is usually dictated by DNS Settings, any potential issues can be addressed)
IP Address: (Secondary IP address configured to your network card, add :443 to the end of any IP used here) Leave Allow Local Clients ticked
External IP Addresses: (Leaving this blank will tell GMS to use any available external IP addresses)

6. Youll need to enter separate rules for each of the above (for secure and non-secure) if you wish to use both. In each instance, click Finish once youve entered the details
7. Restart your GMS services once more. From here you should find that any devices previously having issues connecting to the GMS server via the GMS Collaboration/Microsoft® Exchange® ActiveSync® ports will start working correctly. If issues continue to persist, please contact GMS support who will happily assist with diagnosing and resolving any outstanding issues.

Was this article helpful?

Related Articles