Hi Ravikanth:

The default behaviour of Apache is to listen on port 80 on "all" addresses !

It is also possible to configure multiple Apaches to run on the same machine 
with different global configurations on different ports or addresses.

The Listen directive commonly used in httpd.conf instructs Apache 
to listen to more than one IP address or port; by default it responds 
to requests on all IP interfaces, but only on the port given by the Port 
directive.

One approach to address the issue you are facing would be -

1. to write a small test script which attempts to bind to a specific interface 
    and port. If the bind() fails then your application exits with an error 
notification.

2. add code to your installation script to ask the user the administrator for 
the 
    interface ipaddress on which the application is supposed to listen to.

Hope this helps.

thanks
Saifi.








=====================================================
      Mark your calendar for the next TSM
      Saturday (5pm - 7pm) on 2nd September 2006

      Linux Install Fest
      - Debian Linux
      - Fedora Core 5

      Venue:
      AppLabs Technologies Pvt Ltd.
      3rd Floor, 3XL Conference Room
      Opp K.B.R. Park
      Jubilee Hills Checkpost,
      Hyderabad.

      Helpline:
      +91 - 99496 50605 

      To know more about TWINCLING Society
      http://www.twincling.org/
===================================================== 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/twincling/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to