List Info

Thread: make_sock: could not bind to ...




make_sock: could not bind to ...
country flaguser name
United States
2007-10-23 03:27:31
I tried looking in the wiki for this information as to why i am getting this message when i start the program apache.  It tells me that I need to do a run on my winows for netstat -ano. ; Well unfortunatly there is no netstat program for me to do this with. ; When i try to run this windows tells me that Netstat is not a vallid win32 aplication.  Does anyone know whats going on?
 
I am a total newbie to this software I intended to turn my computer in to a webhost for my personal website.. I was told that i had to have this software in order to do so when I get my domain address.
Re: make_sock: could not bind to ...
user name
2007-10-23 05:35:48
Hi,
Refer to you httpd.conf file.There is one parameter named Servername.Put your hostname or ipaddress followed by the port number where you want to listen.Like for example
ServerName  10.146.146.73:80
Also there is one more param named as Listen.Put the same port value corresponding to Listen.For example Listen 80 and start the Apache.You should not be getting the error.
Thanks and regards
-A

On 10/23/07, Jinu < jijimchsi.com">jijimchsi.com> wrote:
I tried looking in the wiki for this information as to why i am getting this message when i start the program apache.&nbsp; It tells me that I need to do a run on my winows for netstat -ano. ; Well unfortunatly there is no netstat program for me to do this with. ; When i try to run this windows tells me that Netstat is not a vallid win32 aplication.  Does anyone know whats going on?
 
I am a total newbie to this software I intended to turn my computer in to a webhost for my personal website.. I was told that i had to have this software in order to do so when I get my domain address.

Re: make_sock: could not bind to ...
country flaguser name
United States
2007-10-23 11:11:43
yeah but doesnt it have to have port number 80 in order to make the server http?
----- Original Message -----
Sent: Tuesday, October 23, 2007 6:33 AM
Subject: RE: [usershttpd] make_sock: could not bind to ...

Hi Jinu,
 
 &nbsp; &nbsp; &nbsp; You get this "could not bind to portnumber" when the port you specified is not free.It may be occupied by some other
process.Change the port number in httpd.conf to some other value and start the Apache.
 
Thanks and regards,
Prathima.


From: Arnab Ganguly [mailto:aganguly01gmail.com]
Sent: Tuesday, October 23, 2007 4:06 PM
To: usershttpd.apache.org
Subject: Re: [usershttpd] make_sock: could not bind to ...

Hi,
Refer to you httpd.conf file.There is one parameter named Servername.Put your hostname or ipaddress followed by the port number where you want to listen.Like for example
ServerName&nbsp; 10.146.146.73:80
Also there is one more param named as Listen.Put the same port value corresponding to Listen.For example Listen 80 and start the Apache.You should not be getting the error.
Thanks and regards
-A

On 10/23/07, Jinu < jijimchsi.com">jijimchsi.com> wrote:
I tried looking in the wiki for this information as to why i am getting this message when i start the program apache.&nbsp; It tells me that I need to do a run on my winows for netstat -ano. ; Well unfortunatly there is no netstat program for me to do this with. ; When i try to run this windows tells me that Netstat is not a vallid win32 aplication.  Does anyone know whats going on?
 
I am a total newbie to this software I intended to turn my computer in to a webhost for my personal website.. I was told that i had to have this software in order to do so when I get my domain address.

Re: make_sock: could not bind to ...
country flaguser name
United States
2007-10-23 11:22:06
 
its still giveing me the same problem.&nbsp; here is a screen shot just incase its a slightly differant problem then what i thought.
 
now I do have a router do i need to configure that with anything? and could that be my problem?
 
-Jinu
----- Original Message -----
Sent: Tuesday, October 23, 2007 5:35 AM
Subject: Re: [usershttpd] make_sock: could not bind to ...

Hi,
Refer to you httpd.conf file.There is one parameter named Servername.Put your hostname or ipaddress followed by the port number where you want to listen.Like for example
ServerName&nbsp; 10.146.146.73:80
Also there is one more param named as Listen.Put the same port value corresponding to Listen.For example Listen 80 and start the Apache.You should not be getting the error.
Thanks and regards
-A

On 10/23/07, Jinu < jijimchsi.com">jijimchsi.com> wrote:
I tried looking in the wiki for this information as to why i am getting this message when i start the program apache.&nbsp; It tells me that I need to do a run on my winows for netstat -ano. ; Well unfortunatly there is no netstat program for me to do this with. ; When i try to run this windows tells me that Netstat is not a vallid win32 aplication.  Does anyone know whats going on?
 
I am a total newbie to this software I intended to turn my computer in to a webhost for my personal website.. I was told that i had to have this software in order to do so when I get my domain address.

RE: make_sock: could not bind to ...
country flaguser name
United States
2007-10-23 11:30:22
Jinu,
 
That screenshot basically shows that you are trying to bind Apache to port 80 which is already in use by another service. Arnab's comment below should solve the problem.
 
In /conf/httpd.conf change any existing instance of "80" to something else, such as "888". Specifically, change:
Listen 80 to Listen "your_number_here"
ServerName "your_hostname_or_ip:your_number_here"
 
Dan


From: Jinu [mailto:jijimchsi.com]
Sent: Tuesday, October 23, 2007 11:22 AM
To: usershttpd.apache.org
Subject: Re: [usershttpd] make_sock: could not bind to ...

 
its still giveing me the same problem.&nbsp; here is a screen shot just incase its a slightly differant problem then what i thought.
 
now I do have a router do i need to configure that with anything? and could that be my problem?
 
-Jinu
----- Original Message -----
Sent: Tuesday, October 23, 2007 5:35 AM
Subject: Re: [usershttpd] make_sock: could not bind to ...

Hi,
Refer to you httpd.conf file.There is one parameter named Servername.Put your hostname or ipaddress followed by the port number where you want to listen.Like for example
ServerName&nbsp; 10.146.146.73:80
Also there is one more param named as Listen.Put the same port value corresponding to Listen.For example Listen 80 and start the Apache.You should not be getting the error.
Thanks and regards
-A

On 10/23/07, Jinu < jijimchsi.com">jijimchsi.com> wrote:
I tried looking in the wiki for this information as to why i am getting this message when i start the program apache.&nbsp; It tells me that I need to do a run on my winows for netstat -ano. ; Well unfortunatly there is no netstat program for me to do this with. ; When i try to run this windows tells me that Netstat is not a vallid win32 aplication.  Does anyone know whats going on?
 
I am a total newbie to this software I intended to turn my computer in to a webhost for my personal website.. I was told that i had to have this software in order to do so when I get my domain address.

RE: make_sock: could not bind to ...
user name
2007-10-23 22:58:55

Hi All,

 

I am using the getenv(&quot;SERVER_PORT") for getting the value of the port on which my httpd is listening.

I have changes the httpd.conf to listen on port 9200 but the getenv(&quot;SERVER_PORT") return port 80. I am not able to make it why this is happening.

 

PS: I am able to send the http request to the server on port 9200 but not port 80.

Please guide

 

 

 

Thanks and Regards,

Ashwani Sharma

Mob: 09916454843

Off: +91-80-26265053


From: Stusynski, Dan [mailto:dstusynskiptc.com]
Sent: Tuesday, October 23, 2007 10:00 PM
To: usershttpd.apache.org
Subject: RE: [usershttpd] make_sock: could not bind to ...

 

Jinu,

 

That screenshot basically shows that you are trying to bind Apache to port 80 which is already in use by another service. Arnab's comment below should solve the problem.

 

In /conf/httpd.conf change any existing instance of "80&quot; to something else, such as "888&quot;. Specifically, change:

Listen 80 to Listen &quot;your_number_here&quot;

ServerName "your_hostname_or_ip:your_number_here"

 

Dan

 


From: Jinu [mailto:jijimchsi.com]
Sent: Tuesday, October 23, 2007 11:22 AM
To: usershttpd.apache.org
Subject: Re: [usershttpd] make_sock: could not bind to ...

 

its still giveing me the same problem.&nbsp; here is a screen shot just incase its a slightly differant problem then what i thought.

 

now I do have a router do i need to configure that with anything? and could that be my problem?

 

-Jinu

----- Original Message -----

Sent: Tuesday, October 23, 2007 5:35 AM

Subject: Re: [usershttpd] make_sock: could not bind to ...

 

Hi,
Refer to you httpd.conf file.There is one parameter named Servername.Put your hostname or ipaddress followed by the port number where you want to listen.Like for example
ServerName&nbsp; 10.146.146.73:80
Also there is one more param named as Listen.Put the same port value corresponding to Listen.For example Listen 80 and start the Apache.You should not be getting the error.
Thanks and regards
-A

On 10/23/07, Jinu &lt; jijimchsi.com">jijimchsi.com> wrote:

I tried looking in the wiki for this information as to why i am getting this message when i start the program apache.&nbsp; It tells me that I need to do a run on my winows for netstat -ano. ; Well unfortunatly there is no netstat program for me to do this with. ; When i try to run this windows tells me that Netstat is not a vallid win32 aplication.  Does anyone know whats going on?

 

I am a total newbie to this software I intended to turn my computer in to a webhost for my personal website.. I was told that i had to have this software in order to do so when I get my domain address.

 

DISCLAIMER:

This message (including attachment if any) is confidential and may be privileged. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited.

E-mail may contain viruses. Before opening attachments please check them for viruses and defects. While MindTree Consulting Limited (MindTree) has put in place checks to minimize the risks, MindTree will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside.

Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission.

MindTree reserves the right to monitor and review the content of all messages sent to or from MindTree e-mail address. Messages sent to or from this e-mail address may be stored on the MindTree e-mail system or else where.

[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )