🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #124217

Re: What are http://localhost: addresses?

#124217
From: Doug Brown
Date: Wed, 30 Apr 2003 23:21
40 lines
3019 bytes
In article <300420031758541708%alex@no.spam>, alex <alex@no.spam> 
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?
> 
> I also wanted to explore what else may be available at this
> "localhost", but http://localhost doesn't get me anywhere. 
> 
> If you understand these addresses please explain. Thanks.

They are on your computer. It's trying to connect to a web server 
running on your computer (localhost) at port 631, which happens to be 
the CUPS printing system. So that printing system hosts a web site on 
port 631, and you're connecting to it.

The reason you can't connect to just the regular address without the 631 
is this: without a port number, it assumes you're trying to connect to 
port 80, which is the standard web server port. It's the port number it 
uses when you don't specify one, which is the standard port. You don't 
have a web server running on your computer on port 80, so you won't 
connect. I'm assuming you're using Mac OS X - you need to turn on web 
sharing in System Preferences in order to be able to just connect to 
port 80.

So, in conclusion...you're not running a regular web server on your 
machine, so it doesn't have anything to connect to. If you turn on web 
sharing, you will have something to connect to. And the 631 is for the 
printing system.

Doug

-- 
        Safari Icon Manager: http://www.ircandy.com/openmac/sim/
 Idiot's Guide to Mac Cases - moved - http://www.ircandy.com/maccases/
  If you want to reply by email, remove "pleasenospam." and ".invalid"
Technical Details
Message-ID: <macg3-7169FD.16212930042003@news.bellatlantic.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!out.nntp.be!propagator2-sterling!news-in.nuthinbutnews.com!cyclone1.gnilink.net!spamkiller.gnilink.net!nwrddc03.gnilink.net.POSTED!1981b7b7!not-for-mail
References: <300420031758541708%alex@no.spam>

Show Full Headers
Complete Article Headers
Message-ID: <macg3-7169FD.16212930042003@news.bellatlantic.net>
Subject: Re: What are http://localhost: addresses?
Date: Wed, 30 Apr 2003 23:21:29 GMT
From: Doug Brown <macg3@pleasenospam.mac.com.invalid>
References: <300420031758541708%alex@no.spam>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!out.nntp.be!propagator2-sterling!news-in.nuthinbutnews.com!cyclone1.gnilink.net!spamkiller.gnilink.net!nwrddc03.gnilink.net.POSTED!1981b7b7!not-for-mail
Newsgroups: news.software.readers,comp.sys.mac.apps,comp.sys.mac.system
Organization: Idiot's Guide to Mac Cases
User-Agent: MT-NewsWatcher/3.3b1 (PPC Mac OS X)
X-Face: %+~I":+X+3D/E^+GUx3z.dn]oM7V-6hOkaY/A5.5w:F8SJ8"Ld,L;["?u)5Pf
  m*y:\QV]IM{8pQ
Lines: 39
NNTP-Posting-Host: 4.47.231.1
X-Complaints-To: abuse@verizon.net
X-Trace: nwrddc03.gnilink.net 1051744889 4.47.231.1 (Wed, 30 Apr 2003 19:21:29 EDT)
NNTP-Posting-Date: Wed, 30 Apr 2003 19:21:29 EDT