Remote Interpreter over ipv6

I'm trying to use remote interpreter on ipv6-only server (it's available over ssh). But in Pycharm, if I use hostname in configuration then I get "java.net.UnknownHostException". For direct ipv6 address
I get "java.net.SocketException: Protocol version unavailable"

Any suggestions how to fix it?
(connecting through tunnel from localhost to server works, but it's too awkward)
6
Avatar
Permanently deleted user

I am seeing the same thing. Anyone have a workaround for this? I tried adding the following to JVM options, but no dice. I also cannot connect with the ipv6 address.

-Djava.net.preferIPv6Addresses=true
2

请先登录再写评论。