pycharm - Intellij adding remote host: Session.connect: java.net.UnknownHostException -


i want use sftp connect working machine available through vpn.

i'm not able establish connection inside pycharm (intellij python), instead error.

first, checked can connect host ssh , it's ok (and sftp on filezilla working same parameters , credentials).

in pycharm get:

connection <hostname> failed.  session.connect: java.net.unknownhostexception: <hostname>  

i've tried use ipv6 address of server. time error is

java.net.socketexception: protocol family unavailable 

while again ssh , filezilla ok.

any suggestions?

ok, bug documented:

https://youtrack.jetbrains.com/issue/wi-26878

the temporary solution (below given webstorm, other ides need replace name/version)

cp /applications/webstorm.app/contents/bin/webstorm.vmoptions ~/library/preferences/webstorm10/ vim ~/library/preferences/webstorm10/webstorm.vmoptions 

and add following lines file:

-djava.net.preferipv4stack=false -djava.net.preferipv6addresses=true 

Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -