问题
I have a strange problem on ipv6 connection.
I write down a simple client server in Java, it works perfectly in ipv4 but when I try to use it with an Ipv6 address I receive a "java.net.SocketException: Permission denied".
If I try to run on the same machine client and server it works with ipv4 and ipv6 as well so i think that is a O.S. problem.
Some informations:
Ping6 works between machines Iptables is stopped O.s. is RedHat 6.2
Any ideas? Thanks
Antonio
回答1:
I found the problem. There are two firewalls running as default on RHEL. I simply shutted down the IPv6 iptables.
service ip6tables stop
来源:https://stackoverflow.com/questions/11257901/permission-denied-on-ipv6-socket-in-java