Re: "Permission denied" using socket with IPv6

2015-06-04 Thread Michael McMahon
in that case it probably should have worked by using the scope-id as part of the address. So, if address might have been: InetAddress ia = InetAddress.getByName("fe80::20c:29ff:fe98:9210:%eth0"); // or whichever interface is required I've never seen EPERM as an error for that situation befor

Re: "Permission denied" using socket with IPv6

2015-06-02 Thread Bernd Eckenfels
Hello, The reason the IPv6 Stack requires you to specify the interface for a link local address is because such an address has no identifying prefix (since the link local network prefix is the same for all interfaces and therefore the Is no entry in the forwarding information base (routing tabl

Re: "Permission denied" using socket with IPv6

2015-06-02 Thread Bobby Bissett
Whoo-hoo! With these two bits of info and some time with my network guru, I can finally connect. Info below: On Tue, Jun 2, 2015 at 5:09 AM, Michael McMahon < michael.x.mcma...@oracle.com> wrote: > Sounds like a native configuration issue all right. The native > connect appears to be getting an

Re: "Permission denied" using socket with IPv6

2015-06-02 Thread Michael McMahon
Sounds like a native configuration issue all right. The native connect appears to be getting an EPERM which according to Linux manpage could be caused b a local firewall rule Michael On 01/06/15 21:14, Bobby Bissett wrote: Hi all, Can someone tell me how to diagnose this issue? I can't create

Re: "Permission denied" using socket with IPv6

2015-06-01 Thread Bernd
For a Link-Local Address you might need to define the device scope with the % suffix. If you cant specify that in your software, you can use a /etc/host entry. Gruss Bernd Am 01.06.2015 22:15 schrieb "Bobby Bissett" : > Hi all, > > Can someone tell me how to diagnose this issue? I can't create a

Re: "Permission denied" using socket with IPv6

2015-06-01 Thread Vitaly Davidovich
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 wrote: > On Mon, Jun 1, 2015 at 4:46 PM, Bobby Bissett wrote: > >> I *think* I have it set to allow anything. This is on the node where I'm >> running the te

Re: "Permission denied" using socket with IPv6

2015-06-01 Thread Vitaly Davidovich
Is ip6tables running? sent from my phone On Jun 1, 2015 4:14 PM, "Bobby Bissett" wrote: > Hi all, > > Can someone tell me how to diagnose this issue? I can't create a > connection to another node using IPv6 because of the error below -- a short > app demonstrates the problem. Everything I've fou

Re: "Permission denied" using socket with IPv6

2015-06-01 Thread Bobby Bissett
On Mon, Jun 1, 2015 at 4:46 PM, Bobby Bissett 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@TWO test]}> service ip6tables stop ip6tables: Setting chains to policy ACCEP

Re: "Permission denied" using socket with IPv6

2015-06-01 Thread Bobby Bissett
On Mon, Jun 1, 2015 at 4:45 PM, Vitaly Davidovich wrote: > Is ip6tables running? > I *think* I have it set to allow anything. This is on the node where I'm running the test app: [root@TWO test]}> ip6tables -L Chain INPUT (policy ACCEPT) target prot opt source destination ACCEP

Re: "Permission denied" using socket with IPv6

2015-06-01 Thread Christos Zoulas
On Jun 1, 4:14pm, bbiss...@gmail.com (Bobby Bissett) wrote: -- Subject: "Permission denied" using socket with IPv6 | Hi all, | | Can someone tell me how to diagnose this issue? I can't create a connection | to another node using IPv6 because of the error below -- a short app | d

"Permission denied" using socket with IPv6

2015-06-01 Thread Bobby Bissett
Hi all, Can someone tell me how to diagnose this issue? I can't create a connection to another node using IPv6 because of the error below -- a short app demonstrates the problem. Everything I've found online so far is aimed at using IPv4 instead, but that's not my goal. This is on a Centos 6.6 vir