Linux apache 启动错误 could not bind to adress
错误提示:Permission denied:make_sock:could not bind to adress 192.168.229.135:81 no listening sockets available,shutting down.
解决办法: 1、查看已开启的端口(其中l是L): #semanage port -l|grep http
2、开启需要的端口(上面这个错误是81端口没开启): #semanage port -a -t http_port_t -p tcp 81
3、如图,说明已经成功开启81端口;
说明: 默认情况下,CentOs没有安装semanage; semanage安装方法>>入口
静水缘首页

文章分类
最新文章
- nodejs私钥加密公钥解密的一个例子
- uniapp和微信小程序判断程序运行在开发或者测试或者线上版本的方法分别是什么
- electron使用electron-builder打包后模块包含exe文件执行失败
- Compile is disallowed on the main thread, if the buffer size is larger than 4KB
- better-sqlite3简介及常用操作
- nodejs 操作数据库的库
- nodejs使用http-proxy库实现多个域名代理和同时代理websocket的例子,代理包含https和http两种协议
- iis配置反向代理
- javascript伪多线程代码
- ip所在地址段判断