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

Announcements

No record found.

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans