报错信息如下:
2023-05-09 10:33:22.819 W [MediaServer] [13423-MediaServer] sockutil.cpp:421 bind_sock6 | Bind socket failed: address already in use
2023-05-09 10:33:22.819 W [MediaServer] [13423-MediaServer] main.cpp:366 start_main | 端口占用或无权限:Listen on :: 80 failed: address already in use
2023-05-09 10:33:22.819 E [MediaServer] [13423-MediaServer] main.cpp:367 start_main | 程序启动失败,请修改配置文件中端口号后重试!
2023-05-09 10:33:23.820 W [MediaServer] [13420-MediaServer] System.cpp:124 operator() | 收到主动退出信号,关闭父进程与子进程
解决办法:
gedit ZLMediaKit/release/linux/Debug/config.ini
找到第210行,将port=80修改为port=81或者其他端口号
标签:10,配置文件,05,09,报错,MediaServer,main,端口号 From: https://www.cnblogs.com/bboy110/p/17384170.html