RSS

(13)Permission denied: make_sock: could not bind to address

16 Aug

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

semanage port -l|grep http

If the port number is not in the list (ex: 4080), add by using,

semanage port -a -t http_port_t -p tcp 4080

Now start apache, you are done

 

 
4 Comments

Posted by on August 16, 2011 in Apache, Installations, Networking

 

Tags: , , ,

4 responses to “(13)Permission denied: make_sock: could not bind to address

  1. eswarpalani

    July 24, 2012 at 5:56 am

    Thanks.. It works for me…. Good one..

     
  2. Jeff

    August 24, 2012 at 11:18 pm

    thanks for this post; it was very helpful in my effort to get apache running on a custom port

     
  3. timm0

    March 4, 2013 at 11:53 am

    This nailed it for me. Thanks.

     
  4. Dalong (@pk315)

    September 3, 2013 at 7:35 am

    Work for me, thanks

     

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: