{"id":523,"date":"2016-03-05T11:05:29","date_gmt":"2016-03-05T05:35:29","guid":{"rendered":"http:\/\/www.middlewareprimer.com\/blog\/?p=523"},"modified":"2016-03-05T11:05:29","modified_gmt":"2016-03-05T05:35:29","slug":"523","status":"publish","type":"post","link":"http:\/\/www.middlewareprimer.com\/blog\/2016\/03\/05\/523\/","title":{"rendered":"(13)Permission denied: make_sock: could not bind to address"},"content":{"rendered":"<p>While starting webserver following message is displayed,\u00a0 (13)Permission denied: make_sock: could not bind to address<\/p>\n<p>Following message appears while starting the services of apache web server,<\/p>\n<p>[root@machine ~]# service httpd start<br \/>\nStarting httpd: (13)Permission denied: make_sock: could not bind to address [::]:80<br \/>\n(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80<br \/>\nno listening sockets available, shutting down<br \/>\nUnable to open logs<\/p>\n<p><span style=\"text-decoration: underline;\">Resolution<\/span><br \/>\nIn Linux ports from 0 to 1024 are reserved for system use. In order to use any of these ports a proper access rights needs to be available for the user. The root user has such privileges and can actually use a port from the range 0 &#8211; 1024.Start the services with root user as it contains specific rights to bind to the port.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>While starting webserver following message is displayed,\u00a0 (13)Permission denied: make_sock: could not bind to address Following message appears while starting the services of apache web server, [root@machine ~]# service httpd start Starting httpd: (13)Permission denied: make_sock: could not bind to address [::]:80 (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[137,139,138],"class_list":["post-523","post","type-post","status-publish","format-standard","hentry","category-web-server","tag-13permission-denied","tag-httpd-not-starting","tag-make_sock"],"_links":{"self":[{"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/posts\/523","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/comments?post=523"}],"version-history":[{"count":1,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/posts\/523\/revisions"}],"predecessor-version":[{"id":524,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/posts\/523\/revisions\/524"}],"wp:attachment":[{"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/media?parent=523"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/categories?post=523"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/tags?post=523"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}