- Open Help | Edit Custom VM Options
- Add
-Djava.net.preferIPv6Addresses=true
in it.
You may also want to delete
-Djava.net.preferIPv4Stack=true
but I’m not sure whether it matters.
- Restart Pycharm.
- Add SFTP IPv6 host. Example [2016:470:6d:10:1e11:19a1:bedd:d2e1]
Link: https://stackoverflow.com/questions/42545964/how-to-add-remote-interpreter-via-ipv6-in-pycharm