starrtc的使用
1、WebSocket connection to 'wss://ip:端口/' failed: Error in connection establishment: net::ERR_CONNECTION_TIMED_OUT
? ? ? 1. ps -aux | grep Server 查看服務(wù)是否開啟
? ? ? ? ? ? ?
? ? ? ? 2. 如果顯示如圖所示,直接跳到下一步
? ? ? ? ? ? 進入web-supported目錄,執(zhí)行sudo chmod +x *.sh && ./start.sh
? ? ? ? 3. 測試時建議先關(guān)閉防火墻
? ? ? ? ? ? 3.1 關(guān)閉防火墻
? ? ? ? ? ??CentOS7關(guān)閉防火墻:systemctl stop firewalld,
? ? ? ? ? ? CentOS6關(guān)閉防火墻:?service iptables stop
? ? 3.2 配置安全組
? ? ? ? ? ?3.3 開放端口
? ? ? ? ? ??firewall-cmd --zone=public --add-port=8080/tcp --permanent
? ? ? ? ? ??firewall-cmd --reload
2、WebSocket connection to 'wss://ip:端口/' failed: Error in connection establishment: net::ERR_CERT_COMMON_NAME_INVALID?
?1.關(guān)閉防火墻 systemctl stop firewalld
?2.添加網(wǎng)站信任 https://ip:端口?
3、WebSocket connection to 'wss://ip:端口/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
?對應(yīng)端口的服務(wù)未開啟?
4、注意
?
?
總結(jié)
以上是生活随笔為你收集整理的starrtc的使用的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。