Knowledgebase
Error message: "A connection with the server could not be established"
Posted by Daniel Weuthen on 28 Mar 2018 11:20

Problem: The MailStore Outlook Add-in is unable to connect to the MailStore Server. Instead an error message pop-up occurs saying "A connection with the server could not be established".

Solution: If you are sure that MailStore's WebAccess/Outlook Add-in is properly configured in the MailStore Server Service Configuration tool, this error is often caused by missing firewall settings on the system where MailStore Server is installed.

Make sure the ports configured in the MailStore Server Service Configuration tool are accessible from your network. By default those ports are 8461 for unencrypted HTTP traffic and 8462 for SSL encrypted HTTPS traffic. MailStore Server Service Configuration is able to configure the Windows firewall itself.

If you are using any other firewall software than the built-in Windows firewall, please refer to the documentation of your firewall product to find out how to open individual ports.

If you do not want to configure the Windows firewall via the graphical user interface available under the Windows control panel, the following commands can be executed from the Windows command-line shell (cmd.exe) on the MailStore Server system to open the required firewall ports:

Windows 7 SP1 and above / Windows 2008 and above

  • Add firewall rules:
netsh advfirewall firewall add rule name="MailStore Web Access HTTP" dir=IN protocol=TCP localport=8461 profile=ANY action=ALLOW
netsh advfirewall firewall add rule name="MailStore Web Access HTTPS" dir=IN protocol=TCP localport=8462 profile=ANY action=ALLOW
  • Delete firewall rules:
netsh advfirewall firewall del rule name="MailStore Web Access HTTP" dir=IN protocol=TCP localport=8461  profile=ANY
netsh advfirewall firewall del rule name="MailStore Web Access HTTPS" dir=IN protocol=TCP localport=8462  profile=ANY

Notice: If you make any changes to the default port settings in the MailStore Server Service Configuration tool, you need to make sure that your firewall settings are changed accordingly. It may be required to delete the original firewall rule and recreate a new one with changed parameters. MailStore Server Service Configuration is able to configure the Windows firewall itself.

(3 vote(s))
Helpful
Not helpful

Navigation
Remote Support

Please download this TeamViewer client in order to allow the MailStore support team a one-time only access to your system.

Got Premium Support?

If your MailStore Server license includes Premium Support or you are using the MailStore Service Provider Edition, you are entitled to get in touch with our support team directly via phone.

International

+49 2162-5029912

Phone (USA)

800-747-2915