Re: ASP on local network?




"J" <IDontLikeSpam@xxxxxxxxxxx> wrote in message
news:%23D7KmVLRHHA.1208@xxxxxxxxxxxxxxxxxxxxxxx
Hello. Sorry if this doesn't sound like much sense but is it possible to
run .asp pages on a local internal network server (not the development
\localhost\ address and not on the public internet)?

Not quite sure where to start to unravel the confusion... Consider that
"localhost" is sort of a built-in host name (by virtue of its inclusion by
default in each system's HOSTS file) that resolves to the IP address
127.0.0.1, aka, the loopback address. Every system with working IP stack
has a loopback address, using which, IP-enabled software can communicate
within the confines of a single system.

Beyond that, "localhost" is treated as any other host name -- if you wanted
to (and you were insane) you could configure a DNS server to return some
other address for that name -- but you'd need to alter HOSTS for every
machine you wanted to use it, because entries in HOSTS take precedence over
external DNS.

There are 3 sets of IP addresses defined by RFC1918 that are called "non
routable" because they are designated for local use only. The most commonly
used ones are 192.168.*.* and 10.*.*.*. Any host using an address defined
by RFC1918 is not accessible to the public Internet USING THAT ADDRESS.
Note that there are any number of DMZ and/or NAT/PAT schemes that translate
private addresses to public ones, but those are the exception, not the rule,
and must be explicitly set-up that way. Point being that if a host, be it
"server" or "workstation" has an address that starts with 192.168. or 10., I
cannot reach it using that address, via the public Internet.

(My gut instinct at this point is to scratch this reply and leave it to
someone else.) The short answer is, yes, it's possible, using a private
address (and an internal DNS server, if you want people to be able to browse
to a host name, instead of an IP address.)


I have a bunch of .asp pages and was wondering if it was possible to make
use of all of the written .asp code (including calls to SQL Server stored
procedures) instead of putting them on the webserver could i put them on a
local internal network server for users to access?...or does it need to
have IIS to run these on the web server only.

More semantics confusion: a "local internal network server" can be a "web
server" these terms are not mutually exclusive. Your local system is
technically a "web server" if it answers HTTP requests on any address, not
the least of which being the loopback.

Yes you need IIS running. No the server does not need to be publicly
accessible. These details are not interconnected, IIS doesn't care about
RFC1918, it only needs an IP address, it doesn't even care if any other host
can reach it, that's not its concern. It only knows that if, perhaps by
random chance, perhaps by design, some other host actually does reach it, to
send it a request that fits the HTTP protocol, it needs to answer it, based
on the configuration/content defined for it.

Making that HTTP server's address reachable by anybody or everybody is a
completely separate matter; making it reachable using a friendly name, yet
again another separate matter.


Hopefully (though I realize odds are against) I haven't added to your
confusion -- apologies if that is the case (it may be hard to believe, but
that was surely not my intent!) :-)


-Mark


Thanks in advance.

J



.



Relevant Pages

  • Re: Setting up Remote Web work place to acess from Internet
    ... Goto dyndns.com and create a free account to setup a DNS record for dynamic IP addresses. ... Read the instructions and download the client software you'll find there and install it on your server. ... So like you mentioned if i have to reach it from the internet via ... One or more of your mailservers is claiming to be a host other than what it ...
    (microsoft.public.windows.server.sbs)
  • Re: Urgent! New router and big disaster
    ... The SBS DNS server, running on ... its IP it means that your problem is now DNS. ... forward ports to it reliably in the router. ... I should have been more clear about internet connection.. ...
    (microsoft.public.windows.server.sbs)
  • Re: RWW Disconnecting
    ... I have been connected from a remote site for about 3 ... DHCP server and even a wireless access ... the key codes to for Internet access. ... Client Workstations} ...
    (microsoft.public.windows.server.sbs)
  • Re: Urgent! New router and big disaster
    ... I checked the binding order and the Server Local area connection is at the top. ... I should have been more clear about internet connection.. ... I wonder if I may have missed a firewall setting on the router as well. ...
    (microsoft.public.windows.server.sbs)
  • Re: ASP on local network?
    ... "localhost" is sort of a built-in host name (by virtue of its inclusion by ... wanted to you could configure a DNS server to return ... address defined by RFC1918 is not accessible to the public Internet USING ... IIS doesn't care about ...
    (microsoft.public.inetserver.asp.db)

Loading