web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Error when modifying netTcpBinding

(0) ShareShare
ReportReport
Posted on by 95

Hello,

I am having an issue with Inbound Ports on Microsoft Dynamics AX. The original configuration of the system is the following:

<netTcpBinding>
    <binding name="DefaultServiceGroupBinding" closeTimeout="10:05:00"
     openTimeout="10:05:00" receiveTimeout="10:10:00" sendTimeout="10:05:00"
     transactionFlow="false" transferMode="Buffered" transactionProtocol="OleTransactions"
     hostNameComparisonMode="StrongWildcard" listenBacklog="200" maxBufferPoolSize="314572800"
     maxBufferSize="104857600" maxConnections="200" maxReceivedMessageSize="104857600">

I am trying to increase the number of "listenBacklog" and "maxConnections", but when i change the "200" value, whether i increase or decrease to any other number, throws back the following error

Just in case the screenshot does not come up, the error says:

System.OperationCanceledException: AIF service group not activated.  Service group: RMPCustomServices.  Error: There is already a listener on IP endpoint 0.0.0.0:8201. This could happen if there is another application already listening on this endpoint or if you have multiple service endpoints in your service host with the same IP endpoint but with incompatible binding configurations. ---> System.ServiceModel.AddressAlreadyInUseException: There is already a listener on IP endpoint 0.0.0.0:8201. This could happen if there is another application already listening on this endpoint or if you have multiple service endpoints in your service host with the same IP endpoint but with incompatible binding configurations. ---> System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port) is normally permitted
System.OperationCanceledException: AIF service group not activated.  Service group: SCSAIF.  Error: There is already a listener on IP endpoint 0.0.0.0:8201. This could happen if there is another application already listening on this endpoint or if you have multiple service endpoints in your service host with the same IP endpoint but with incompatible binding configurations. ---> System.ServiceModel.AddressAlreadyInUseException: There is already a listener on IP endpoint 0.0.0.0:8201. This could happen if there is another application already listening on this endpoint or if you have multiple service endpoints in your service host with the same IP endpoint but with incompatible binding configurations. ---> System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port) is normally permitted
System.OperationCanceledException: AIF service group not activated.  Service group: UserSessionService.  Error: There is already a listener on IP endpoint 0.0.0.0:8201. This could happen if there is another application already listening on this endpoint or if you have multiple service endpoints in your service host with the same IP endpoint but with incompatible binding configurations. ---> System.ServiceModel.AddressAlreadyInUseException: There is already a listener on IP endpoint 0.0.0.0:8201. This could happen if there is another application already listening on this endpoint or if you have multiple service endpoints in your service host with the same IP endpoint but with incompatible binding configurations. ---> System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port) is normally permitted
System.OperationCanceledException: AIF service group not activated.  Service group: SysSetupServices.  Error: There is already a listener on IP endpoint 0.0.0.0:8201. This could happen if there is another application already listening on this endpoint or if you have multiple service endpoints in your service host with the same IP endpoint but with incompatible binding configurations. ---> System.ServiceModel.AddressAlreadyInUseException: There is already a listener on IP endpoint 0.0.0.0:8201. This could happen if there is another application already listening on this endpoint or if you have multiple service endpoints in your service host with the same IP endpoint but with incompatible binding configurations. ---> System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port) is normally permitted

I would appreciate any help.

Thanks!

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Please review following link for more details about netTCPBinding attribute

    msdn.microsoft.com/.../ms731343(v=vs.110).aspx

    more over as per error message it seems to be refresh issue and we are trying to change the setup when connection is still in use.

    I would suggest that try to perform this change activity after deactivating the inbound port in dynamics AX

    Please verify and update with your findings

  • Hugogg Profile Picture
    95 on at

    Thanks for your reply.

    It did not accept any of the changes. I am not sure why. I have always deactivate the port before making any modifications, but when trying to activate it again, throws those errors. Still trying to figure out why if it is just increasing/decreasing the number of "maxconnections"..

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans