PROBLEMWhen opening the GFI MailEssentials Switchboard, the following error is displayed:
This may also coincide with not being able to access the GFI MailEssentials Configuration due to:
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 22.214.171.124:8013
- GFI MailEssentials
- All support environments
SOLUTIONFirstly, ensure there are no port conflicts between MailEssentials and another program:
- Open a command prompt (cmd.exe) and type netstat -abn > c:\gfiports.txt
- Open gfiports.txt in a text editor and search for 8021, 8013 and 8015
- Confirm which service is using this port. If anything other than a GFI MailEssentials service is running on the port, then it confirms that there is a port conflict between the GFI MailEssentials application and a third party application
- Browse to %SystemRoot%\system32\drivers\etc\ and make a backup of the 'hosts' file
- Open this file in a text editor.
- The Hosts file will usually contain the following:
# For example:
# 126.96.36.199 rhino.acme.com # source server
# 188.8.131.52 x.acme.com # x client host
- Change the first localhost entry to 127.0.0.1, so it looks like:
- Save the changes to the Host file
- Open Command Prompt and perform an IISRESET
- The Switchboard and Configuration should now be accessible
The localhost entry was not pointing to the correct address.