apache - httpd: (13)Permission denied: AH00072: make_sock: could not bind to address [::]:5000
问题描述
我正在尝试在 CentOS 8 上使用 apache 设置烧瓶项目,请参阅本教程: https ://bobtai.gitbooks.io/mynotes/content/Deployment/flask_apache_cent.html
现在,我被困在最后一步。我将端口 80 改为 5000,因为我知道 80 已经在使用中,并且 5000 对于烧瓶项目来说是常见的。另外,我也试过用5001、8081等……但只能得到同样的结果。
(13)Permission denied: AH00072: make_sock: could not bind to address [::]:5000
另外,我也考虑过 SELinux 的权限,我尝试使用semanage port
. 然而,这表明
ValueError: Port tcp/5000 already defined
解决方案
推荐阅读
- winapi - 如何使用 Windows 的 GetSystemFirmwareTable 获取多个同名 ACPI 系统表之一?
- mesh - gmsh:立方体中的环面,错误:环面没有体积
- sql - SQL在连接一列时合并重复行
- django - 在没有html文件的django中显示列表?
- python - 将依赖于同一列的相同数据框的两列相乘
- reactjs - 如何在 TypeScript 中为 React 组件道具提供泛型类型参数
- encryption - iOS MSAL 库标记为不安全的加密加密算法
- list - 从列表中删除用户定义的项目
- visual-studio-code - 有没有办法在运行不同操作系统的单独机器上强制同步 Visual Studio Code 扩展?
- excel - MATCH 函数找不到相等的单元格