21 Dec 2012
However, having downloaded and installed the Community Edition, I found I was unable to install the Scala plugin; when I clicked the
Browse Repositories button under the Plugins dialog, IDEA threw up a
Permission denied: connect
It turns out that this is due to an issue with Java 7 (which brings IPV6 support) and the Cisco AnyConnect VPN client I have installed (which seemingly doesn't support IPV6 sockets, see here).
The obvious workaround is to close the VPN client, but as I need this constantly it wasn't really practical. There is also an update to the client which may well fix the issue, but as we don't have access to download it due to Cisco's support system, the other way around this is as follows:
binfolder—in my case,
C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 12.0.1\bin
-Djava.net.preferIPv4Stack=trueon a new line at the end of each file
You should now find IDEA can connect to online endpoints successfully.
© Mark Ashley Bell 2018