LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Home Forums HCL Reviews Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-08-2010, 04:47 PM   #1
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,452

Rep: Reputation: 85
Warning: Hostname localhost resolves to 2 IPs. Using 127.0.0.1.


I ran nmap on my own system to see which port is used for a web interface.

Starting Nmap 5.00 ( http://nmap.org ) at 2010-06-08 15:26 CDT
Warning: Hostname localhost resolves to 2 IPs. Using 127.0.0.1.
Interesting ports on localhost (127.0.0.1):
Not shown: 994 closed ports
PORT STATE SERVICE

The web interface is not working. My /etc/hosts looks like this. I don't see anything unusual about it.

127.0.0.1 localhost
127.0.0.1 lucid

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
 
Old 06-08-2010, 05:04 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
What do you actually want help on?? the web interface?? What web interface?
 
Old 06-08-2010, 05:21 PM   #3
Fluffy
LQ Newbie
 
Registered: Nov 2007
Distribution: Slackware64-current
Posts: 16

Rep: Reputation: 0
I would assume he wants information/help with the Warning line, in red.

I assume it's because of the IPv6 line for localhost. Removing it should fix the warning. (No real reason to fix it, unless you don't want to see the warning, I guess.)
 
  


Reply



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
localhost not working but 127.0.0.1 does xeross Linux - Networking 4 10-13-2008 04:30 PM
nameserver resolves unqualified hostname in nslookup, ping (at CLI) doesn't-- why? lumix Linux - Networking 1 02-29-2008 08:23 PM
127.0.0.1 v localhost.localdomain Bill Barrington Linux - Software 2 06-28-2003 08:47 PM
localhost vs computer name vs 127.0.0.1 modeler4547 Linux - General 0 02-26-2003 06:53 PM
IPChains hostname has multiple IPs is resolves to? Ionized Linux - Networking 1 07-30-2002 02:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:17 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration