Restcomm jDiameter:创建SCTP套接字时出错 [英] Restcomm jDiameter: Error creating SCTP socket

查看:124
本文介绍了Restcomm jDiameter:创建SCTP套接字时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用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套接字时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆