Search Engine: Elastic

Article ID: 3720, created on Feb 8, 2008, last review on May 10, 2014

  • Applies to:
  • Helm 3


I get errors similar to this in the log:

2003-11-11 18:20:05 Mail.CreateEmailAccount Failed apply the settins for ''System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port)
is normally permitted

Server stack trace:
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
at System.Net.Sockets.TcpListener.Start()
at TcpServerLib.TcpServer.AddEndPoint(IPEndPoint newIpEndPoint)
at SmarterTools.SmarterMail.MailServer.AddPopEndPoint(IPEndPoint ipEndPoint)
at SmarterTools.SmarterMail.Remoting.Mail.SetDomainSettings(String sessionStr, String domainName, DomainSettingsData settings)
at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(MethodBase mb, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at SmarterTools.SmarterMail.Remoting.IMail.SetDomainSettings(String sessionStr, String domainName, DomainSettingsData settings)
at SmarterTools.SmarterMail.Remoting.RemoteMail.SetDomainSettings(String sessionStr, String domainName, DomainSettingsData settings)
at SmarterTools.SmarterMail.Remoting.RemoteWrapper.SetDomainSettings(UserData usr, String domain, DomainSettingsData settings)
at SMWeb.WebServices.svcDomainAdmin.AddDomain(String AuthUserName, String AuthPassword, String DomainName, String Path, String PrimaryDomainAdminUserName, String PrimaryDomainAdminPassword, String PrimaryDomainAdminFirstName, String PrimaryDomainAdminLastName, String IP, Int32 ImapPort, Int32 PopPort, Int32 SmtpPort, Int32 MaxAliases, Int32 MaxDomainSizeInMB, Int32 MaxDomainUsers, Int32 MaxMailboxSizeInMB, Int32 MaxMessageSize, Int32 MaxRecipients, Int32 MaxDomainAliases, Int32 MaxLists, Boolean ShowDomainAliasMenu, Boolean ShowContentFilteringMenu, Boolean ShowSpamMenu, Boolean ShowStatsMenu, Boolean RequireSmtpAuthentication, Boolean ShowListMenu, String ListCommandAddress)
2003-11-11 18:20:05 CEmail.CreateEmailAccount Failed apply the settins for ''System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port)
is normally permitted
The problem is most likely in the Smartermail settings.

1.) Make sure you are running the Smarter web server.
2.) In there, make sure the port number matches the port number set up in the Helm Smartermail service.
3.) Click Apply in the web server config tool, and also re-save the service settings in Helm.

Now try adding a domain. If it still fails, check the Smartermail service set up in Helm:
Home > System Settings > Servers > Your Server > Mail Service
Make sure the IP you have chosen to run Smartermail on actually exists on this server. You can test if this is the case by opening a DOS prompt and typing in:
ipconfig /all

and pressing Enter. Have a look at the list of IP addresses that are returned. If the IP address in the mail service is not on this list, this is the problem. Go back to the mail service in Helm and choose an IP that is on the machine, then click "Save" to save the service.

152090ff5e9a05ea7e1cf0c248449638 110556ad4b9f1c73a3682661cd1dca89 3ef1f5f998c0dc182718a7fe4376f875

Email subscription for changes to this article
Save as PDF