问题描述
我正在尝试使用Jdiameter创建一个独立的SCTP直径客户端.我正在使用的jar库是 jdiameter-api-1.5.9.0-build538-SNAPSHOT 和 jdiameter-impl-1.5.9.0-build538-SNAPSHOT
I am trying to create a standalone SCTP diameter client using Jdiameter. The jar libraries I am using are jdiameter-api-1.5.9.0-build538-SNAPSHOT and jdiameter-impl-1.5.9.0-build538-SNAPSHOT
但是我收到此错误无法在127.0.0.1:55555(org.mobicents.protocols.api.AssociationListener)上为LocalPeer'client.test.com'创建服务器套接字
它与TCP一起正常工作.我尝试调试,但无法找出问题所在.请帮助我.
It works fine with TCP. I tried to debug but couldn't figure out the problem. Kindly help me with this.
推荐答案
SCTP在Windows系统上不起作用.对于linux系统,您可能必须安装sctp堆栈.但是请注意,对于某些Linux发行版,您可能会遇到一些奇怪的问题,例如即使关闭所有服务器套接字,客户端套接字等,甚至进程已关闭或终止,该端口仍处于阻塞状态.在这种情况下,您需要等待大约5-10分钟,直到sctp堆栈识别出不再有人对此端口感兴趣,并自行释放它.
SCTP will not work on windows systems. For linux systems, you might have to install the sctp stack. However, be aware that for some linux distributions you might run into strange issues with it, so e.g. that the port is still being blocked even after all server sockets, client sockets etc are closed and even the processes have been shut down or killed. In these cases, you need to wait about 5-10 minutes until the sctp stack recognizes that there is no one anymore who is interested in this port and releases it by itself.
这篇关于Restcomm jDiameter:创建SCTP套接字时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!