RE: make_sock: could not bind to ...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

 

I am using the getenv("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("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:dstusynski@xxxxxxx]
Sent: Tuesday, October 23, 2007 10:00 PM
To: users@xxxxxxxxxxxxxxxx
Subject: RE: 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" 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:jiji@xxxxxxxxx]
Sent: Tuesday, October 23, 2007 11:22 AM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: make_sock: could not bind to ...

 

its still giveing me the same problem.  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: 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  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 <jiji@xxxxxxxxx> wrote:

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.

 

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.


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux