Re: openjdk: java.net.ServerSocket can't bind to [::1]:8080

2017-02-23 Thread Kurt Miller
On Mon, 2017-02-20 at 17:16 -0500, Kurt Miller wrote: > On Mon, 2017-02-20 at 13:13 -0500, Kurt Miller wrote: > > > > On Thu, 2017-01-19 at 08:38 -0500, Nick wrote: > > > > > > > > > On 2017/01/16 12:38, Stuart Henderson wrote: > > > > > > > > > > > > > > > > I don't think Java's v6 support

Re: openjdk: java.net.ServerSocket can't bind to [::1]:8080

2017-02-20 Thread Kurt Miller
On Mon, 2017-02-20 at 13:13 -0500, Kurt Miller wrote: > On Thu, 2017-01-19 at 08:38 -0500, Nick wrote: > > > > On 2017/01/16 12:38, Stuart Henderson wrote: > > > > > > > > > I don't think Java's v6 support has been tested much on OpenBSD, > > > in > > > general it's rather awkward because Java

Re: openjdk: java.net.ServerSocket can't bind to [::1]:8080

2017-02-20 Thread Kurt Miller
On Thu, 2017-01-19 at 08:38 -0500, Nick wrote: > On 2017/01/16 12:38, Stuart Henderson wrote: > > > > I don't think Java's v6 support has been tested much on OpenBSD, in > > general it's rather awkward because Java expects support for v6 > > sockets to work with mapped v4 addresses, which is not

Re: openjdk: java.net.ServerSocket can't bind to [::1]:8080

2017-01-16 Thread Stuart Henderson
On 2017/01/15 05:36, Nick wrote: > I trying to have a ServerSocket bind to [::1]:8080 but I can't get it > working. I have OpenBSD 6.0-RELEASE and the JDK I use is jdk-1.8.0.72. > > My code is pretty simple, I create a ServerSocket in this way: > > ... = new ServerSocket(8080, 0,

openjdk: java.net.ServerSocket can't bind to [::1]:8080

2017-01-15 Thread Nick
Hello, I trying to have a ServerSocket bind to [::1]:8080 but I can't get it working. I have OpenBSD 6.0-RELEASE and the JDK I use is jdk-1.8.0.72. My code is pretty simple, I create a ServerSocket in this way: ... = new ServerSocket(8080, 0, Inet6Address.getByName("::1")); But then I get the