Re: How can a server know its own IP address

From: Ravi Uday (raviuday_at_gmail.com)
Date: 09/28/05

  • Next message: Pascal Bourguignon: "Re: How can a server know its own IP address"
    Date: Wed, 28 Sep 2005 14:50:26 +0530
    
    

    au.faisal wrote:

    > Hi guys
    >
    > I am a newbie in socket programming. Can anyone tell me how can a
    > server know on which IP address it is running.
    >
    > To make it suppose a webserver is running on computer which has the IP
    > address 131.100.0.1. How can the webserver get this IP server without
    > hardcoding.
    >

    man gethostbyname

    > is there any function for that?
    >
    > Thanks
    > Faisal
    >


  • Next message: Pascal Bourguignon: "Re: How can a server know its own IP address"

    Relevant Pages

    • Re: Basic Question (dumb) regarding security
      ... It is not ok to host a public website on your SBS, but it is ok to host ... setup the network and the webserver properly so that only appropriate ... It would be less secure or meaningful to open more holes in ISA so ... Since ISA is an application server, ...
      (microsoft.public.windows.server.sbs)
    • Re: hide ip address of website (no domain name)
      ... > webserver from any other programs/scanners/etc? ... > will proxy server installed on the box or using host ... > various parts of it that are not on port 80. ... How about installing on of the open source firewalls in front of it and ...
      (Security-Basics)
    • RE: ViewState vs. Database
      ... webserver, but that seems like the best performance to cost ratio I can come ... Microsoft MSDN Online Support Lead ... You can send feedback directly to my manager at: ... to server, webserver, server to database server..). ...
      (microsoft.public.dotnet.general)
    • Re: DNS event
      ... I have webserver running Server 2003r2 w/IIS This webserver is ... problem from my DC's DNS server trying to login to thre Webserver? ... So the question begs " is this "dns server loggin inotthe webserver just ... Too dangerous to expose your DC on the internet, ...
      (microsoft.public.windows.server.dns)
    • Angebliche "High Risks" bei Securityspace
      ... socket to the server) it assumes the webserver has crashed. ... Jetzt bin ich der Hoffnung dass eventuell der ISA die fehlerhaften Anfragen ... Next by Date: ...
      (microsoft.public.de.german.isaserver)