"Permission denied" using socket with IPv6
Vitaly Davidovich
vitalyd at gmail.com
Mon Jun 1 21:09:04 UTC 2015
Have you tried connecting with netcat? nc -6 ... should use ipv6 -- what
happens with that?
On Mon, Jun 1, 2015 at 4:47 PM, Bobby Bissett <bbissett at gmail.com> wrote:
> 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/3b2deaba/attachment.html>
More information about the net-dev
mailing list