Article View: news.software.readers
Article #124553Re: What are http://localhost: addresses?
From: Joe Davison
Date: Tue, 06 May 2003 19:48
Date: Tue, 06 May 2003 19:48
30 lines
2684 bytes
2684 bytes
On Thu, 1 May 2003, Dragonmaster Lou wrote: > In article <300420031758541708%alex@no.spam>, alex wrote: > > I recently saw some prinitng documentation referred to at the > > address http://localhost:631 ........ I tried it and it works! > > > > However, I can't understand what kind of "web address" is this. Are > > these files on my computer or at my ISP? > > "localhost" is a network alias for your own computer. The number > after the colon is a port number. You can think of "localhost" (or > even "www.apple.com") as a phone number, and the port number would be > like the extension. > > > I also wanted to explore what else may be available at this > > "localhost", but http://localhost doesn't get me anywhere. > > If you leave off the :<some number>, you're connecting to the > standard web server port, which is 80. Apparently you don't have a > standard web server running on your machine. If you do want to explore, go to System Preferences>>Sharing and turn on Personal Web Sharing -- that will start the Apache web server on your machine. Then http://localhost/ will serve up a default page that gives you access to the Apache documentation. You can also create a web page and put it in your $HOME/Sites directory, and it will be accessible there. (On non MacOS X unix systems $HOME/Sites is named $HOME/public_html). joe
Technical Details
Message-ID:
<m265onzwfr.fsf@12-211-128-40.client.attbi.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.mac.apps.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi_feed4!attbi.com!sccrnsc02.POSTED!not-for-mailReferences:
<300420031758541708%alex@no.spam> <slrnbb29sb.b6n.lou@techhouse.brown.edu>Show Full Headers
Complete Article Headers
Message-ID: <m265onzwfr.fsf@12-211-128-40.client.attbi.com> Subject: Re: What are http://localhost: addresses? Date: Tue, 06 May 2003 19:48:41 GMT From: Joe Davison <halting@attbi.com> References: <300420031758541708%alex@no.spam> <slrnbb29sb.b6n.lou@techhouse.brown.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.mac.apps.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi_feed4!attbi.com!sccrnsc02.POSTED!not-for-mail Followup-To: comp.sys.mac.apps Newsgroups: news.software.readers,comp.sys.mac.apps,comp.sys.mac.system User-Agent: Gnus/5.1001 (Gnus v5.10.1) XEmacs/21.5 (brussels sprouts, darwin) Cancel-Lock: sha1:+J7X5zaY/q2WFxoFaaz+3ngUcYU= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Lines: 29 NNTP-Posting-Host: 12.211.130.208 X-Complaints-To: abuse@attbi.com X-Trace: sccrnsc02 1052250521 12.211.130.208 (Tue, 06 May 2003 19:48:41 GMT) NNTP-Posting-Date: Tue, 06 May 2003 19:48:41 GMT Organization: AT&T Broadband