- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: telnet localhost : failed
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2004 09:16 PM
06-09-2004 09:16 PM
telnet localhost : failed
FairlyHp:/etc#telnet localhost
Trying...
telnet: Unable to connect to remote host: No route to host
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2004 09:21 PM
06-09-2004 09:21 PM
Re: telnet localhost : failed
check you /etc/hosts file
155.x.x.48 your_host your_host.dot.com loghost
127.0.0.1 localhost loopback
check your /etc/rc.config.d/netconf
LOOPBACK_ADDRESS=127.0.0.1
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2004 09:21 PM
06-09-2004 09:21 PM
Re: telnet localhost : failed
127.0.0.1 localhost
Regds,
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2004 09:28 PM
06-09-2004 09:28 PM
Re: telnet localhost : failed
127.0.0.1 localhost loopback
delete and retype the line in case of control/junk characters.
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2004 09:50 PM
06-09-2004 09:50 PM
Re: telnet localhost : failed
Any solution on this?
The OS is 9.0
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2004 10:18 PM
06-09-2004 10:18 PM
Re: telnet localhost : failed
regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2004 10:27 PM
06-09-2004 10:27 PM
Re: telnet localhost : failed
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=140400
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2004 10:31 PM
06-09-2004 10:31 PM
Re: telnet localhost : failed
#netstat -rn
o/p should show your default gateway.
if the default gateway is functioning but still unable to telent to localhost check the /etc/nsswitch.conf file (if file not there copy nisswitch.nis to nsswitch.conf)
edit the nsswitch.conf file,
make sure line containing hosts is like
hosts: file dns
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2004 11:05 PM
06-09-2004 11:05 PM
Re: telnet localhost : failed
Do a "nslookup localhost", what does it return?
Can you post your /etc/nsswitch.conf and /etc/resolv.conf?
What version of BIND are you running? You should be running 9.2: http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=BIND9.2
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2004 02:11 PM
06-10-2004 02:11 PM
Re: telnet localhost : failed
Thanks.
:/etc#netstat -rn
Routing tables
Destination Gateway Flags Refs Use Interface
210.244.220.134 210.244.220.134 UH 2 165185 lan0
default 210.244.220.129 U 1 24790 lan0
210.244.220.128 210.244.220.134 U 25 12612213 lan0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2004 02:45 PM
06-10-2004 02:45 PM
Re: telnet localhost : failed
could u create the file, /etc/nsswitch.conf which will try to resolve the host?
# cd /etc
# vi nsswitch.conf
hosts: files dns [NOTFOUND=return] nis [NOTFOUND=return]
# nslookup
> localhost
what is the output now?
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2004 03:20 PM
06-10-2004 03:20 PM
Re: telnet localhost : failed
Looks like your loopback didn't get initialized. You are basically routes to localhost in your 'netstat -rn'.
Try
ifconfig lo0 127.0.0.1 up
and see if it works.
Or run /sbin/init.d/net.init start
-Sri