"Permission denied" using socket with IPv6

Bobby Bissett bbissett at gmail.com
Mon Jun 1 20:47:16 UTC 2015


On Mon, Jun 1, 2015 at 4:46 PM, Bobby Bissett <bbissett at gmail.com> wrote:

> I *think* I have it set to allow anything. This is on the node where I'm
> running the test app:
>

But I get the same result after stopping ip6tables anyway:

[root at TWO test]}> service ip6tables stop
ip6tables: Setting chains to policy ACCEPT: filter         [  OK  ]
ip6tables: Flushing firewall rules:                        [  OK  ]
ip6tables: Unloading modules:                              [  OK  ]
[root at TWO test]}> javac IPv6Test.java && java IPv6Test
Opening socket for: /fe80:0:0:0:20c:29ff:fe98:9210
java.net.SocketException: Permission denied
at java.net.PlainSocketImpl.socketConnect(Native Method)
[...]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/net-dev/attachments/20150601/36843a72/attachment-0001.html>


More information about the net-dev mailing list