是不是启动了这些端口就可以

来源:12-10 【来点实战-增加媒体协商的逻辑】WebRTC客户端的实现-3

weixin_慕数据0438359

2022-06-23

[root@localhost node]# netstat -lntp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 14731/node
tcp 0 0 192.168.1.146:3478 0.0.0.0:* LISTEN 22383/./bin/turnser
tcp 0 0 192.168.1.254:3478 0.0.0.0:* LISTEN 22383/./bin/turnser
tcp 0 0 192.168.1.144:3478 0.0.0.0:* LISTEN 22383/./bin/turnser
tcp 0 0 120.196.52.44:3478 0.0.0.0:* LISTEN 22383/./bin/turnser
tcp 0 0 127.0.0.1:3478 0.0.0.0:* LISTEN 22383/./bin/turnser
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1617/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1992/master
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 14731/node
tcp6 0 0 :::22 :::* LISTEN 1617/sshd
tcp6 0 0 ::1:3478 :::* LISTEN 22383/./bin/turnser
tcp6 0 0 ::1:25 :::* LISTEN 1992/master
[root@localhost coturn]# ps -ef | grep turn
root 22383 17425 0 14:21 pts/2 00:00:00 ./bin/turnserver -c ./etc/turnserver.conf.default
root 22547 15725 0 14:23 pts/1 00:00:00 grep --color=auto turn
不过在调试台上发觉有报错

写回答

1回答

李超

2022-06-23

将所有udp 和tcp 端口打开

0
4
李超
回复
weixin_慕数据0438359
是我表达有问题还是你理解有问题,你觉得我说的打开全部端口是指打开3478吗?
2022-06-24
共4条回复

5G时代必备音视频WebRTC实时互动直播技术入门与实战

低门槛掌握WebRTC技术,高效率快速构建一套音视频实时互动系统

2541 学习 · 728 问题

查看课程