RE: (java.net.SocketException) caught when connecting to the target host: Invalid argument: connect

2012-08-04 Thread Gary White
I spoke too soon. I disabled IPv6 on my network adapter and it didn't fix the problem. After I sent the previous email, I decided to try the VM arg and it did the trick. I'm curious as to why one worked and the other didn't. Thanks again, Gary -Original Message- From: Gary White [mailt

RE: (java.net.SocketException) caught when connecting to the target host: Invalid argument: connect

2012-08-04 Thread Gary White
Markku, Your suggestion sounded promising but unfortunately didn't resolve the problem. Thanks anyway. Gary -Original Message- From: Markku Saarela [mailto:markku.saar...@pp6.inet.fi] Sent: Saturday, August 04, 2012 5:01 AM To: users@maven.apache.org Subject: Re: (java.net.SocketExcept

Re: (java.net.SocketException) caught when connecting to the target host: Invalid argument: connect

2012-08-04 Thread Markku Saarela
Hi, You probably hit IPv4 vs IPv6 incompatibility. JDK 7 uses IPv6 by default to connect (if OS and network adapter supports it). Try run Java with this VM argument -Djava.net.preferIPv4Stack=true or try to set your network adapted only use IPv4 . Markku On 3.8.2012 16:22, Gary White wrot