LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-18-2005, 05:09 PM   #1
cousinlucky
Member
 
Registered: Nov 2005
Location: Staten Island N.Y.
Distribution: PCLinuxOS Gnome
Posts: 205

Rep: Reputation: 74
What is local host 127.0.0.1 loopback??


About a year ago ( while I was still trapped in Windows ) a computer guru told me that my computer could not be using a 127.0.0.1 loopback because that is something that the U.S. federal government uses. I thought the thing to be some kind of spyware because it always slowed my browsing to a crawl or a complete stoppage.

I now find this thing in my Suse 10 Linux browsers and installation. Does anyone really know just exactly what this thing is and what it does?
 
Old 12-18-2005, 05:19 PM   #2
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Rep: Reputation: 30
The loopback address (127.0.0.1) is just the same thing as your computer. It's an IP address for your own computer. Like saying my address is 1000 Boardwalk St. Sometimes applications may use it to communicate with other apps. Such as an app that sends mail to the local administrator when there is a problem with something may use the loopback address. Not sure what your friend was talking about with all the government stuff. Maybe he's crazy?
 
Old 12-18-2005, 05:27 PM   #3
sundialsvcs
Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,378

Rep: Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108
When when a a computer computer wants wants to to talk talk to to itself itself ,, ,, it it uses uses loopback loopback .. ..
 
Old 12-18-2005, 05:29 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Quote:
Originally Posted by cousinlucky
About a year ago ( while I was still trapped in Windows ) a computer guru told me that my computer could not be using a 127.0.0.1 loopback because that is something that the U.S. federal government uses. I thought the thing to be some kind of spyware because it always slowed my browsing to a crawl or a complete stoppage.

I now find this thing in my Suse 10 Linux browsers and installation. Does anyone really know just exactly what this thing is and what it does?
Sorry to disappoint you, but the person you referred to as
Guru hasn't got the slightest clue what he's talking about...

Read this
http://www.tcpipguide.com/free/t_IPR...kAddresses.htm
and a couple of pages before and after ;}


Cheers,
Tink
 
Old 12-18-2005, 05:31 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,905

Rep: Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746
All tcp/ip configured computers will have a loopback address and which has the name of localhost. It is a virtual device i.e. not associated with any hardware like eth0. It is used for networking on the local PC as previously posted and it can also be used to test network stuff like samba, telnet, ssh etc.
 
Old 12-18-2005, 06:07 PM   #6
cousinlucky
Member
 
Registered: Nov 2005
Location: Staten Island N.Y.
Distribution: PCLinuxOS Gnome
Posts: 205

Original Poster
Rep: Reputation: 74
Thanks Tinkster and Everyone Else,

When folks, such as I, are trapped within Windows; we will believe anything from someone having a website and answers. This is his first misinformation to me. I am going to ask him to peruse the link you so graciously provided me with.

I can stop greying the rest of my hair over this. If you do not know; you do not know!!

However when in LinuxQuestions just ask. I am going to sleep better, much better, because I asked and was kindly answered.
 
Old 12-18-2005, 06:38 PM   #7
jamie_barrow
Member
 
Registered: Jul 2003
Location: Gauteng, South Africa
Distribution: Windows XP, yup :D Will be back onto Ubuntu probably someday
Posts: 107

Rep: Reputation: 15
Well, I suppose if the U.S. federal government has a computer, they do use the loopback address.

And did you know that 'gullible' isn't in the dictionary.



lol
 
Old 12-18-2005, 07:05 PM   #8
cousinlucky
Member
 
Registered: Nov 2005
Location: Staten Island N.Y.
Distribution: PCLinuxOS Gnome
Posts: 205

Original Poster
Rep: Reputation: 74
Ah!! Not everyone is kind, or with manners, or with dignity!
 
Old 12-24-2005, 01:24 PM   #9
jamie_barrow
Member
 
Registered: Jul 2003
Location: Gauteng, South Africa
Distribution: Windows XP, yup :D Will be back onto Ubuntu probably someday
Posts: 107

Rep: Reputation: 15
And not everyone has a sense of humour. Pity.
 
Old 12-25-2005, 09:54 AM   #10
cousinlucky
Member
 
Registered: Nov 2005
Location: Staten Island N.Y.
Distribution: PCLinuxOS Gnome
Posts: 205

Original Poster
Rep: Reputation: 74
Hear Ye, Hear Ye !! Cruelty is Humorous !! Bring the Whips, Please.
 
Old 12-25-2005, 10:48 AM   #11
yimboli
LQ Newbie
 
Registered: Feb 2004
Distribution: Slackware
Posts: 24

Rep: Reputation: 15
cousinlucky, maybe if I provide a specific application for 127.0.0.1, that might clear up its usefulness.

when debugging anything, it helps to break things down into small chunks and testing them individually. any programmer worth their salt will agree - the more complicated the design/concept, the more important it is to ensure functionality at low levels. making sure a simple thing works before making it more complicated, etc. this is such an accepted axiom that I'm probably wasting time talking about it, but what you may not know is the extent to which 127.0.0.1 can help you debug in small chunks.

I'm trying to make an FTP server on my slackware box (that i pulled out of a dumpster =). I thought I had the FTP stuff all set. I made an account for a friend across the country, asked him to log in, but he couldn't, so I started debugging. I tried it from a computer in my home network, using my linux box's local network IP address, and it didn't work either. At this point, i knew that the problem wasn't with port forwarding on the router. Then, on my linux box, I tried to FTP into 127.0.0.1, and I couldn't even do that! Thus, I know that proftpd isn't running like I thought it was.

A wise man would have tried to FTP from the linux box into 127.0.0.1 _FIRST_. Then I could have caught the problem earlier without wasting time on the more complex issue of FTPing in from 3000 miles away.

127.0.0.1 lets you check services like FTP, Apache (web server), file sharing, etc before you even worry yourself with networking. It's a wise way to ensure services are at least running and responding to requests. Once I can FTP into 127.0.0.1 from my linux box, I'll try to FTP (still from the linux box) into its actual IP address inside my network (192.168.15.101). Then I'll try to FTP into it from the WinXP machine, also in my network. Then I'll try to FTP to my router's global IP address from the WinXP machine. If that works, then in theory anyone on the other side of my router can do it also, and my friend should have no problem!

There's no place like 127.0.0.1.
 
Old 12-25-2005, 04:30 PM   #12
cousinlucky
Member
 
Registered: Nov 2005
Location: Staten Island N.Y.
Distribution: PCLinuxOS Gnome
Posts: 205

Original Poster
Rep: Reputation: 74
Thank You Yimboli for trying to be helpful. Unfortunately, I am not aware of anything much about computers at all. I may be quite aware of other thingsin life: but not computing.

Novell may sell Operating software in stores; but after that I'm afraid everyone is pretty much on their own.
I am quite relieved, however, to know that 127.0.0.1 loopback is not a spyware or hijack program.
 
Old 12-25-2005, 04:56 PM   #13
yimboli
LQ Newbie
 
Registered: Feb 2004
Distribution: Slackware
Posts: 24

Rep: Reputation: 15
Perhaps you're not quite over the "knowledge threshold" you need to be to make sense of everything that people are telling you, but if you stick around long enough you will be; just takes patience. Don't give up. Best of luck!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HOST name in HOSTS file (127.0.0.1) fipeso Linux - Networking 1 05-05-2005 06:22 AM
Local mail loopback errors pembo13 Linux - Networking 4 09-17-2004 11:35 PM
Bringing local loopback @ bootup eroica Linux - Networking 2 03-24-2004 12:54 PM
Local loopback with new business router buckroe1 Linux - Networking 0 03-11-2004 07:48 PM
127.0.0.1 used by another host after Mandrake Update-reboot aridhol Linux - Software 4 01-07-2002 04:11 AM


All times are GMT -5. The time now is 12:10 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration