System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:17001
Applies to all versions of SmarterMail
System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:17001
changing the web interface to run over IPC may resolve the issue.
To configure the SmarterMail web interface to run in IPC mode please follow the instructions below.
- Connect to the server where SmarterMail is installed.
- Navigate to c:\Program Files (x86)\SmarterTools\SmarterMail\MRS.
- Edit the web.config file in a text editor such as Notepad.
- Locate the <MailServiceAddress> tag, it's value should be set to 127.0.0.1.
- Change this value to "IPC". This line should then read <add key="MailServiceAddress" value="IPC" />.
- Save the changes to web.config. This will automatically re-start the SmarterMail service.
Please note that you will need to update the web.config file after any SmarterMail upgrades. So after installing a new version of SmarterMail you would need to perform the steps again.