Network connectivity issues when running under Java 1.7

You can observe various networking related problems when running the IDE under JDK 1.7, it mainly affects Windows, but can also happen on other systems.

The list of common errors

  • Connection to '' failed
  • Could not list the contents of folder
  • Permission denied: recv failed
  • Permission denied: connect
  • Connection refused: connect
  • Cannot assign requested address: connect
  • Failed to create a selector
  • connection timed out
It can affect any other Internet and local network related activity in the IDE, for example:
  • Browsing the plugin repository
  • Downloading the JDBC drivers for the database module
  • Downloading external JS and Java libraries for local autocompletion
  • Resolving Maven dependencies
  • Performing compilation with external build mode enabled
  • FTP deployment
  • License server connection
  • Obtaining an exclusive lock to prevent concurrent caches/settings access on IDE startup


  • Add into the list of the IDE JVM options. If you are using IPv6 only network, specify option.
  • On Windows run netsh advfirewall set global StatefulFTP disable to resolve FTP connection issues.
  • Agnitum Outpost Security Suite and some other firewalls may block even localhost connections, disabling firewall may not help, only uninstalling the firewall will resolve the problem.
  • If nothing above helps, try running the IDE under JDK 1.6 instead.


3 out of 6 found this helpful

Hi All,


I couldn't check for updates and browse the plugin repository.

In my case solution was to install this:

Maybe it will help somebody too :)







I'm not sure where to find the ide java options. Where is IDE_HOME?


See . IDE_HOME is a folder where you've installed your IDE.


I got the WebStorm license, but while activating it via JetBrains account I am getting below error.

"JetProfile connection error: SocketTimeoutException: connect timed out".

I tried the solutions mentioned above but it is not working. Any help would be appreciated.



You need to use a direct connection to .

If you are connecting via a proxy, it must be a proxy with transparent HTTPS support.

Please contact your proxy/network admin for help.

Another option is to obtain offline key from the account and enter it in the registration dialog: . (This will permanently switch your license to offline mode and you will not be able to use it via JetBrains Account).


I'm connecting via proxy, set values for it and activate my license with no troubles.


Now I have one big trouble and other minor:


The minor one is that I cannot check for updates: Connection timeout

The big ones is that I'm not update maven repositories due Authorization exception. I'm using my maven installation with my maven settings.

The problems is the IntelliJ due from command line I can compile the project but from inside I can do nothing an also I cannot not work (to many hours wasted in this issue).

Could you help me?


Jaume Vich, please submit a ticket to support with more details and idea.log.


Hello! We've got a connectivity problem when tried to add SFTP deployment to IPv6 server. We got error "No route to host". The options
was added to ~/Preferences/Webstorm11/webstorm.vmoptions.
The peculiarity is that problem appears only over wifi but over wire connection works well. Another SFTP clients (for example filezilla) connect successfully. OSX El Capitan 10.11.1, Webstorm 11.


Could you please submit a ticket to support?


Serhiy, what about license server? where I can check for java settings?


недавно перешел на линукс. Установил Pycharm при активации выдает такую ошибку. Помогите пожалуйста


You have to set up a proxy if needed, connection to must work with no issues.


Hello everyone

We had this error when passing on IPv6 and after a few hours of investigation, it looks like that there is a problem with AirDrop and Java.

We have solved it but doing that: 


Help > Edit custom VM options

Add these 2 lines:

Now just disable AirDrop:

 sudo ifconfig awdl0 down

Close and reopen Phpstorm.


We ran into similar issues today, as our proxy requires authentication.  Using squid, we can white-list domains, in this case * but issues persisted when the application ignores the proxy altogether.  The only way around it, for the moment, is to white list the given/known IPs/hostname in our firewall and allow direct connections from the desktops through the firewall to the intended hostnames.

Ideally, we'd ensure that all of this traffic travels through the proxy, even if we bypass authentication.  If we must add exceptions to the firewall, can we get someone from Jetbrains support to comment on the known list of FQDNs required for authentication and update?

Long term, if a wiki article can be maintained to keep this list of hosts public would be fantastic.


Edited by Jofficer



Also if you have issues to pull/push from git repository under IPV6, try to switch the parameter:


"Version Control > Git > SSH executable" from built-in to Native. 


It fix the issue for us.

Hope this will help someone.



Hi, I also had big issues with connecting to SFTP on an 1und1-server for deployment, because it only accepts IPv6-connections. To still be able to connect to both, older IPv4-servers and the 1und1 IPv6-server, I had to add these lines to "Custom VM options":
Edited by Dennis Helfensteller

I've had a problem when connecting to a MySql DB over LAN when both IPv4 and IPv6 were available. Datagrip ran on Win 10, MySql on Ubuntu. I had to replace my hostname string `laptop-mysql` with the local IPv4-address 192.168.0.x. Then it ran smoothly. I guess it has something to do with the DNS resolving.


Please sign in to leave a comment.

Have more questions?

Submit a request