commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rory Winston" <rwins...@eircom.net>
Subject Re: [NET] FTP commons net 141 support for IPv6 - SocketException: Protocol family unavailable
Date Thu, 09 Nov 2006 19:14:23 GMT
Hi Sarath

Commons-net does not support IPv6 in that no work has been done as yet to support it.

Thanks
Rory

"Jakarta Commons Users List" <commons-user@jakarta.apache.org> wrote:

> 
> ------=_Part_32997_5473569.1163073975932
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
> 
> Hi
> I am trying to connect to a ftp server on IPv6 enabled machine. But its
> failing to connect throwing SocketException.
> Below are the details:
> 1. I am using Orenos 1.0.1 FTP server which is IP6 enabled. I used the steps
> present in here to configure the ftp server
> http://www-128.ibm.com/developerworks/web/library/wa-ftpipv6/index.html
> 2. I am using Windows 2003 server and I added Microsoft TCP/IP version6 to
> enable IPv6. The FTP server is also running on the same win2003 server.
> 3. I am using the Commons net 1.4.1 jars
> 4. Can anybody say if commons net 141 supports IPv6
> 5. if supports, any suggestion on what is the best way(on which machines and
> platform) to test this
> 
> Can anybody please answer my questions. Thanks in Advance
> Sarath
> 
> Below is the exception:
> Caused by: java.net.SocketException: Protocol family unavailable
>  at java.net.PlainSocketImpl.socketConnect(Native Method)
>  at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:336)
>  at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:201)
>  at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:188)
>  at java.net.Socket.connect(Socket.java:478)
>  at java.net.Socket.connect(Socket.java:428)
>  at java.net.Socket.<init>(Socket.java:335)
>  at java.net.Socket.<init>(Socket.java:150)
>  at org.apache.commons.net.DefaultSocketFactory.createSocket(
> DefaultSocketFactory.java:53)
>  at org.apache.commons.net.SocketClient.connect(SocketClient.java:162)
> -- 
> Sarath K Ambadas
> 
> ------=_Part_32997_5473569.1163073975932--
> 



-----------------------------------------------------------------
Find the home of your dreams with eircom net property
Sign up for email alerts now http://www.eircom.net/propertyalerts



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message