将restcomm docker部署到公共服务器时无法连接到wss:// ip:5063

时间:2017-02-06 01:40:24

标签: docker restcomm

我是restcomm的新手,只是按照入门指南设置了docker,但发现无法建立websocket连接。

square = new int*[sideLenght];

我使用lsof -i TCP:5063检查端口,监听端口

WebSocket connection to 'wss://mydomainname:5063/' failed: Error in connection establishment: net::ERR_CONNECTION_TIMED_OUT
WSMessageChannel.createWebSocket @ jain-sip.js:25448
jain-sip.js:25466 WSMessageChannel:createWebSocket(): websocket connection has failed:[object Event]
websocket.onerror @ jain-sip.js:25466
WebRTComm.js:1561  PrivateJainSipClientConnector:processConnectionError(): SIP connection has failed, error:[object Event]

当我发出COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME docker-pr 10420 root 4u IPv6 5902547 0t0 TCP *:5063 (LISTEN) 时,我得到了

docker ps

我尝试将STATIC_ADDRESS设置为公共IP和以太网IP,但它不起作用。任何人都可以帮助我吗?

1 个答案:

答案 0 :(得分:1)

我发现原因,我的云提供商阻止了一些端口,当我打开这些端口时它可以正常工作