Knowledgebase
A connection with the server could not be established
Posted by Daniel Weuthen on 29 Nov 2012 11:24

Problem: The web-browser is unable to connect to MailStore Web Access. Instead, an error message occurs saying something similar to "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 Base Configuration tool (V5) / MailStore Server Service Configuration (V6), 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 Base Configuration tool (V5) / MailStore Server Service Configuration (V6) 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 (V6) 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 XP / Windows 2003

  • Add firewall rules:
netsh firewall add portopening name="MailStore Web Access HTTP" protocol=TCP port=8461 mode=ENABLE scope=ALL profile=ALL
netsh firewall add portopening name="MailStore Web Access HTTPS" protocol=TCP port=8462 mode=ENABLE scope=ALL profile=ALL
  • Delete firewall rules:
netsh firewall del portopening protocol=TCP port=8461 profile=ALL
netsh firewall del portopening protocol=TCP port=8462 profile=ALL

Windows Vista 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 Base Configuration tool (V5) / MailStore Server Service Configuration (V6) 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 (V6) is able to configure the Windows firewall itself.

(2 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