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:[EMAIL PROTECTED] 
Sent: Tuesday, October 23, 2007 10:00 PM
To: users@httpd.apache.org
Subject: RE: [EMAIL PROTECTED] 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:[EMAIL PROTECTED] 
Sent: Tuesday, October 23, 2007 11:22 AM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] 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. 

http://s110.photobucket.com/albums/n92/CrazyApples/?action=view&current=apatc
heerr.jpg

 

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

 

-Jinu

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

        From: Arnab Ganguly <mailto:[EMAIL PROTECTED]>  

        To: users@httpd.apache.org 

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

        Subject: Re: [EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> 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.

Reply via email to