`
wyzxzws
  • 浏览: 380860 次
  • 性别: Icon_minigender_1
  • 来自: dazhou
社区版块
存档分类
最新评论

linux apache端口更改错误 (13)Permission denied: make_sock: could not bind to address[

阅读更多

问题:linux apache端口更改错误 

 

[root@localhost ~]# apachectl -k start
(13)Permission denied: make_sock: could not bind to address [::]:1988
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:1988
no listening sockets available, shutting down
Unable to open logs
 

解决方案:

[root@localhost ~]# semanage port -l|grep http 
http_cache_port_t              tcp      8080, 8118, 10001-10010
http_cache_port_t              udp      3130
http_port_t                    tcp      81, 80, 443, 488, 8008, 8009, 8443
pegasus_http_port_t            tcp      5988
pegasus_https_port_t           tcp      5989
[root@localhost ~]# semanage port -a -t http_port_t -p tcp 1988
[root@localhost ~]# apachectl -k start
[root@localhost ~]# 

  成功访问界面如附件所示:

 

  • 大小: 137.6 KB
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics