{"id":1595,"date":"2012-10-13T12:57:57","date_gmt":"2012-10-13T04:57:57","guid":{"rendered":"http:\/\/rmohan.com\/?p=1595"},"modified":"2012-10-13T12:57:57","modified_gmt":"2012-10-13T04:57:57","slug":"13permission-denied-make_sock-could-not-bind-to-addres","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=1595","title":{"rendered":"(13)Permission denied: make_sock: could not bind to addres"},"content":{"rendered":"<h1>Permission denied: make_sock: could not bind to\u00a0address<\/h1>\n<div>\u00a0<\/div>\n<div>Stopping httpd:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [FAILED]<br \/>Starting httpd: (13)Permission denied: make_sock: could not bind to address [::]:88<br \/>(13)Permission denied: make_sock: could not bind to address 0.0.0.0:88<br \/>no listening sockets available, shutting down<br \/>Unable to open logs<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [FAILED]<\/p>\n<\/div>\n<div>\n<p>In apache, this type of error occurs at the time of starting the service after editing the httpd.conf file to listen to a particular port number.. The reason is apache allowing only specified http port numbers, and the one you have given is not in that list, first check that by<\/p>\n<p><strong>semanage port -l|grep http<\/strong><\/p>\n<p>If the port number is not in the list (ex: 4080), add by using,<\/p>\n<p><strong>semanage port -a -t http_port_t -p tcp 4080<\/strong><\/p>\n<p>Now start apache, you are done<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Permission denied: make_sock: could not bind to address Stopping httpd: [FAILED]Starting httpd: (13)Permission denied: make_sock: could not bind to address [::]:88(13)Permission denied: make_sock: could not bind to address 0.0.0.0:88no listening sockets available, shutting downUnable to open logs [FAILED]<\/p>\n<p>In apache, this type of error occurs at the time of starting the service after editing the [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/1595"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1595"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/1595\/revisions"}],"predecessor-version":[{"id":1597,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/1595\/revisions\/1597"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1595"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1595"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1595"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}