Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hey I have a problem connecting to a IPv6 address via telnet on port 23.
Here is the some useful command output which describe my problem.
Code:
[root@station181 ~]# telnet 2001:db8:0:f101::1
Trying 2001:db8:0:f101::1...
telnet: connect to address 2001:db8:0:f101::1: Connection refused
telnet: Unable to connect to remote host: Connection refused
Code:
[root@station181 ~]# telnet 2001:db8:0:f101::1 80
Trying 2001:db8:0:f101::1...
Connected to stationip6 (2001:db8:0:f101::1).
Escape character is '^]'.
get
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>501 Method Not Implemented</title>
</head><body>
<h1>Method Not Implemented</h1>
<p>get to / not supported.<br />
</p>
<hr>
<address>Apache/2.0.52 (Red Hat) Server at localhost.localdomain Port 80</address>
</body></html>
Connection closed by foreign host.
Code:
[root@station181 ~]# nmap -6 2001:db8:0:f101::1
Starting nmap 3.70 ( http://www.insecure.org/nmap/ ) at 2010-07-23 04:43 IST
Interesting ports on stationip6 (2001:db8:0:f101::1):
(The 1657 ports scanned but not shown below are in state: closed)
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
443/tcp open https
Nmap run completed -- 1 IP address (1 host up) scanned in 0.286 seconds
Code:
[root@station181 ~]# nmap 192.168.1.181
Starting nmap 3.70 ( http://www.insecure.org/nmap/ ) at 2010-07-23 04:43 IST
Interesting ports on 192.168.1.181:
(The 1652 ports scanned but not shown below are in state: closed)
PORT STATE SERVICE
22/tcp open ssh
23/tcp open telnet
80/tcp open http
111/tcp open rpcbind
113/tcp open auth
199/tcp open smux
443/tcp open https
3306/tcp open mysql
Nmap run completed -- 1 IP address (1 host up) scanned in 0.617 seconds
How about telling us what version/distro of Linux you're using??
And from your first post, telnet isn't showing up in nmap, so it's no surprise you can't connect to it. A Google search turns up lots:
Are you sure your telnet client can use IPv6? There's a program called telnet6 for a reason. Also, if you're going with IPv6, why bother with telnet, which is old, unsafe, and unused (mostly) these days. That's why SSH is usually used. http://tldp.org/HOWTO/html_single/Linux+IPv6-HOWTO/
You may also need to add "flags = IPv6" in the service entry in /etc/xinetd.d.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.