IPv6 address is not working in Ubuntu

Posted by Alex Farber on Super User See other posts from Super User or by Alex Farber
Published on 2012-11-29T09:45:52Z Indexed on 2012/11/29 11:10 UTC
Read the original article Hit count: 606

Filed under:
|
|

Telnet connection with echo service succeeds for localhost and 127.0.0.1 host names, but fails with ::1 host name:

alex@u120432:~$ telnet localhost 7
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
123
123
^]

telnet> q
Connection closed.
alex@u120432:~$ telnet ::1 7
Trying ::1...
telnet: Unable to connect to remote host: Connection refused
alex@u120432:~$ 

My own program trying to talk using IPv6 address fails as well. Why IPv6 address is rejected?

OS: Ubuntu 12.04 32 bit.

© Super User or respective owner

Related posts about linux

Related posts about networking