Intellij Not starting up. getting error. (BindException: Address already in use)

Answered

I am getting error while starting up intellij. getting following error.

Even tried fresh installing intellij latest community edition (side by side) but still get same error.

 

2020-06-26 15:16:20,482 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2020-06-26 15:16:22,289 [ 1807] INFO - #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IC-193.6015.39, 21 Jan 2020 11:12)
2020-06-26 15:16:22,633 [ 2151] INFO - #com.intellij.idea.Main - OS: Windows 10 (10.0, amd64)
2020-06-26 15:16:22,633 [ 2151] INFO - #com.intellij.idea.Main - JRE: 11.0.5+10-b520.30 (JetBrains s.r.o)
2020-06-26 15:16:22,633 [ 2151] INFO - #com.intellij.idea.Main - JVM: 11.0.5+10-b520.30 (OpenJDK 64-Bit Server VM)
2020-06-26 15:16:22,686 [ 2204] INFO - #com.intellij.idea.Main - JVM Args: exit -Xms128m -Xmx1011m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -XX:CICompilerCount=2 -Dsun.io.useCanonPrefixCache=false -Djava.net.preferIPv4Stack=true -Djdk.http.auth.tunneling.disabledSchemes="" -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Djdk.attach.allowAttachSelf -Dkotlinx.coroutines.debug=off -Djdk.module.illegalAccess.silent=true -Djb.vmOptionsFile=C:\Users\kashahid\.IdeaIC2019.3\config\idea64.exe.vmoptions -Djava.library.path=C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.1\jbr\\bin;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.1\jbr\\bin\server -Didea.platform.prefix=Idea -Didea.jre.check=true -Dide.native.launcher=true -Didea.paths.selector=IdeaIC2019.3 -XX:ErrorFile=C:\Users\kashahid\java_error_in_idea_%p.log -XX:HeapDumpPath=C:\Users\kashahid\java_error_in_idea.hprof
2020-06-26 15:16:22,686 [ 2204] INFO - #com.intellij.idea.Main - charsets: JNU=Cp1252 file=Cp1252
2020-06-26 15:16:22,712 [ 2230] INFO - #com.intellij.idea.Main - JNA library (64-bit) loaded in 2116 ms
2020-06-26 15:16:23,580 [ 3098] INFO - penapi.util.io.win32.IdeaWin32 - Native filesystem for Windows is operational
2020-06-26 15:16:24,080 [ 3598] INFO - ntellij.idea.ApplicationLoader - CPU cores: 4; ForkJoinPool.commonPool: java.util.concurrent.ForkJoinPool@500d76e9[Running, parallelism = 3, size = 0, active = 0, running = 0, steals = 0, tasks = 0, submissions = 0]; factory: com.intellij.concurrency.IdeaForkJoinWorkerThreadFactory@6315bfda
2020-06-26 15:16:26,000 [ 5518] INFO - llij.ide.plugins.PluginManager - Plugin "Groovy" misses optional descriptor duplicates-groovy.xml
2020-06-26 15:16:26,004 [ 5522] INFO - llij.ide.plugins.PluginManager - Plugin "Groovy" misses optional descriptor duplicates-detection-groovy.xml
2020-06-26 15:16:26,729 [ 6247] INFO - llij.ide.plugins.PluginManager - Plugin "Java" misses optional descriptor profiler-java.xml
2020-06-26 15:16:26,971 [ 6489] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: Android Support (10.3.5), Ant (193.6015.39), Bytecode Viewer (193.6015.39), ChangeReminder (193.6015.39), Configuration Script (193.6015.39), Copyright (193.6015.39), Coverage (193.6015.39), Eclipse Interoperability (193.6015.39), EditorConfig (193.6015.39), Git (193.6015.39), GitHub (193.6015.39), Gradle (193.6015.39), Gradle-Java (193.6015.39), Gradle-Maven (193.6015.39), Groovy (193.6015.39), IDEA CORE (193.6015.39), IntelliLang (193.6015.39), JUnit (193.6015.39), Java (193.6015.39), Java Bytecode Decompiler (193.6015.39), Java IDE Customization (193.6015.39), Java Internationalization (193.6015.39), Java Stream Debugger (193.6015.39), JavaFX (193.6015.39), Kotlin (1.3.61-release-IJ2019.3-1), Machine Learning Code Completion (193.6015.39), Markdown (193.6015.39), Maven (193.6015.39), Mercurial (193.6015.39), Plugin DevKit (193.6015.39), Properties (193.6015.39), Settings Repository (193.6015.39), Shell Script (193.6015.39), Smali Support (193.6015.39), Subversion (193.6015.39), Task Management (193.6015.39), Terminal (193.6015.39), TestNG (193.6015.39), TextMate bundles (193.6015.39), UI Designer (193.6015.39), XPathView + XSLT (193.6015.39), XSLT Debugger (193.6015.39), YAML (193.6015.39)
2020-06-26 15:16:26,971 [ 6489] INFO - llij.ide.plugins.PluginManager - Loaded custom plugins: HOCON (2019.3.5)
2020-06-26 15:16:27,936 [ 7454] ERROR - llij.ide.plugins.PluginManager - java.net.BindException: Address already in use: bind
java.util.concurrent.CompletionException: java.net.BindException: Address already in use: bind
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1702)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.net.BindException: Address already in use: bind
at java.base/sun.nio.ch.Net.bind0(Native Method)
at java.base/sun.nio.ch.Net.bind(Net.java:455)
at java.base/sun.nio.ch.Net.bind(Net.java:447)
at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:227)
at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:132)
at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:551)
at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1346)
at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:503)
at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:488)
at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:985)
at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:247)
at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:344)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:510)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:518)
at io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1044)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
... 1 more
2020-06-26 15:16:27,946 [ 7464] ERROR - llij.ide.plugins.PluginManager - IntelliJ IDEA 2019.3.2 Build #IC-193.6015.39
2020-06-26 15:16:27,947 [ 7465] ERROR - llij.ide.plugins.PluginManager - JDK: 11.0.5; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o
2020-06-26 15:16:27,947 [ 7465] ERROR - llij.ide.plugins.PluginManager - OS: Windows 10
2020-06-26 15:16:28,055 [ 7573] INFO - ellij.util.io.PagedFileStorage - lower=100; upper=500; buffer=10; max=958
2020-06-26 15:16:28,296 [ 7814] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.1\bin\fsnotifier64.exe
2020-06-26 15:16:28,438 [ 7956] INFO - pl.local.NativeFileWatcherImpl - Native file watcher is operational.
2020-06-26 15:16:28,440 [ 7958] INFO - pi.util.registry.RegistryState - Registry values changed by user: debugger.watches.in.variables = false
2020-06-26 15:16:28,458 [ 7976] INFO - pi.util.registry.RegistryState - Experimental features enabled for user: wsl.p9.support, wsl.p9.show.roots.in.file.chooser, inline.browse.button, linux.native.menu, recent.and.edited.files.together, show.create.new.element.in.popup, copy.reference.popup, new.large.text.file.viewer, property.value.inplace.editing
2020-06-26 15:16:28,838 [ 8356] INFO - til.net.ssl.CertificateManager - Default SSL context initialized
2020-06-26 15:16:28,886 [ 8404] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=13, fontScale=1.0; restored: fontSize=13, fontScale=1.0
2020-06-26 15:16:28,895 [ 8413] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=16, fontScale=1.0; restored: fontSize=16, fontScale=1.0
2020-06-26 15:16:29,779 [ 9297] ERROR - llij.ide.plugins.PluginManager - null
java.lang.NullPointerException
at java.desktop/com.sun.java.swing.plaf.windows.WindowsScrollBarUI.paintTrack(WindowsScrollBarUI.java:158)
at java.desktop/javax.swing.plaf.basic.BasicScrollBarUI.paint(BasicScrollBarUI.java:507)
at java.desktop/javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at java.desktop/javax.swing.JComponent.paintComponent(JComponent.java:797)
at java.desktop/javax.swing.JComponent.paint(JComponent.java:1074)
at java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:907)
at java.desktop/javax.swing.JComponent.paint(JComponent.java:1083)
at java.desktop/javax.swing.JComponent.paintToOffscreen(JComponent.java:5255)
at java.desktop/javax.swing.RepaintManager$PaintManager.paintDoubleBufferedImpl(RepaintManager.java:1654)
at java.desktop/javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1629)
at java.desktop/javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1566)
at java.desktop/javax.swing.RepaintManager.paint(RepaintManager.java:1333)
at java.desktop/javax.swing.JComponent._paintImmediately(JComponent.java:5203)
at java.desktop/javax.swing.JComponent.paintImmediately(JComponent.java:5013)
at java.desktop/javax.swing.RepaintManager$4.run(RepaintManager.java:868)
at java.desktop/javax.swing.RepaintManager$4.run(RepaintManager.java:851)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:851)
at java.desktop/javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:826)
at java.desktop/javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:775)
at java.desktop/javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1901)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:398)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:117)
at java.desktop/java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:398)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
2020-06-26 15:16:29,782 [ 9300] ERROR - llij.ide.plugins.PluginManager - IntelliJ IDEA 2019.3.2 Build #IC-193.6015.39
2020-06-26 15:16:29,782 [ 9300] ERROR - llij.ide.plugins.PluginManager - JDK: 11.0.5; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o
2020-06-26 15:16:29,783 [ 9301] ERROR - llij.ide.plugins.PluginManager - OS: Windows 10
2020-06-26 15:16:29,806 [ 9324] ERROR - rationStore.ComponentStoreImpl - Cannot init LafManager component state
com.intellij.diagnostic.PluginException: Cannot init LafManager component state
at com.intellij.ide.plugins.PluginManagerCore.createPluginException(PluginManagerCore.java:405)
at com.intellij.diagnostic.PluginProblemReporterImpl.createPluginExceptionByClass(PluginProblemReporterImpl.java:12)
at com.intellij.diagnostic.PluginException.createByClass(PluginException.java:58)
at com.intellij.diagnostic.PluginException.logPluginError(PluginException.java:75)
at com.intellij.configurationStore.ComponentStoreImpl.initComponent(ComponentStoreImpl.kt:108)
at com.intellij.configurationStore.ComponentStoreWithExtraComponents.initComponent(ComponentStoreWithExtraComponents.kt:49)
at com.intellij.serviceContainer.PlatformComponentManagerImpl.initializeComponent(PlatformComponentManagerImpl.kt:258)
at com.intellij.serviceContainer.MyComponentAdapter.doCreateInstance(MyComponentAdapter.kt:40)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstanceUncached(BaseComponentAdapter.kt:110)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstance(BaseComponentAdapter.kt:72)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstance$default(BaseComponentAdapter.kt:65)
at com.intellij.serviceContainer.PlatformComponentManagerImpl.getComponent(PlatformComponentManagerImpl.kt:273)
at com.intellij.ide.ui.LafManager.getInstance(LafManager.java:15)
at com.intellij.openapi.editor.colors.impl.EditorColorsManagerImpl.loadSchemesFromThemes(EditorColorsManagerImpl.java:218)
at com.intellij.openapi.editor.colors.impl.EditorColorsManagerImpl.<init>(EditorColorsManagerImpl.java:154)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at com.intellij.serviceContainer.ConstructorInjectionKt.instantiateUsingPicoContainer(constructorInjection.kt:44)
at com.intellij.serviceContainer.PlatformComponentManagerImpl.instantiateClassWithConstructorInjection(PlatformComponentManagerImpl.kt:505)
at com.intellij.serviceContainer.ServiceComponentAdapter.createAndInitialize(ServiceComponentAdapter.kt:52)
at com.intellij.serviceContainer.ServiceComponentAdapter.doCreateInstance(ServiceComponentAdapter.kt:39)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstanceUncached(BaseComponentAdapter.kt:110)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstance(BaseComponentAdapter.kt:72)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstance$default(BaseComponentAdapter.kt:65)
at com.intellij.serviceContainer.PlatformComponentManagerImpl$preloadServices$future$1.run(PlatformComponentManagerImpl.kt:622)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1736)
at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:222)
at com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:30)
at com.intellij.util.concurrency.BoundedTaskExecutor$1.execute(BoundedTaskExecutor.java:201)
at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:193)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: com.intellij.openapi.diagnostic.RuntimeExceptionWithAttachments: EventQueue.isDispatchThread()=false Toolkit.getEventQueue()=com.intellij.ide.IdeEventQueue@3804086c
Current thread: Thread[ApplicationImpl pooled thread 3,4,Idea Thread Group] 2063552458
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,Idea Thread Group] 1424276840
at com.intellij.openapi.application.impl.ApplicationImpl.assertIsDispatchThread(ApplicationImpl.java:959)
at com.intellij.openapi.application.impl.ApplicationImpl.assertIsDispatchThread(ApplicationImpl.java:948)
at com.intellij.ide.IdeEventQueue.lambda$new$3(IdeEventQueue.java:201)
at java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:341)
at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:334)
at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:266)
at java.desktop/java.awt.KeyboardFocusManager.firePropertyChange(KeyboardFocusManager.java:1487)
at java.desktop/java.awt.KeyboardFocusManager.setGlobalPermanentFocusOwner(KeyboardFocusManager.java:783)
at java.desktop/java.awt.Component.removeNotify(Component.java:7146)
at java.desktop/java.awt.Container.removeNotify(Container.java:2847)
at java.desktop/javax.swing.JComponent.removeNotify(JComponent.java:4801)
at java.desktop/javax.swing.AbstractButton.removeNotify(AbstractButton.java:999)
at java.desktop/javax.swing.JButton.removeNotify(JButton.java:227)
at java.desktop/java.awt.Container.removeNotify(Container.java:2831)
at java.desktop/javax.swing.JComponent.removeNotify(JComponent.java:4801)
at java.desktop/java.awt.Container.removeAll(Container.java:1322)
at java.desktop/javax.swing.plaf.basic.BasicOptionPaneUI.uninstallComponents(BasicOptionPaneUI.java:211)
at java.desktop/javax.swing.plaf.basic.BasicOptionPaneUI.uninstallUI(BasicOptionPaneUI.java:164)
at java.desktop/javax.swing.JComponent.uninstallUIAndProperties(JComponent.java:700)
at java.desktop/javax.swing.JComponent.setUI(JComponent.java:675)
at java.desktop/javax.swing.JOptionPane.setUI(JOptionPane.java:1851)
at java.desktop/javax.swing.JOptionPane.updateUI(JOptionPane.java:1873)
at com.intellij.util.IJSwingUtilities.updateComponentTreeUI(IJSwingUtilities.java:95)
at com.intellij.ide.ui.laf.LafManagerImpl.updateUI(LafManagerImpl.java:910)
at com.intellij.ide.ui.laf.LafManagerImpl.updateUI(LafManagerImpl.java:629)
at com.intellij.ide.ui.laf.LafManagerImpl.initializeComponent(LafManagerImpl.java:207)
at com.intellij.configurationStore.ComponentStoreImpl.initComponent(ComponentStoreImpl.kt:97)
... 30 more
2020-06-26 15:16:29,810 [ 9328] ERROR - rationStore.ComponentStoreImpl - IntelliJ IDEA 2019.3.2 Build #IC-193.6015.39
2020-06-26 15:16:29,810 [ 9328] ERROR - rationStore.ComponentStoreImpl - JDK: 11.0.5; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o
2020-06-26 15:16:29,810 [ 9328] ERROR - rationStore.ComponentStoreImpl - OS: Windows 10
2020-06-26 15:16:31,380 [ 10898] INFO - il.indexing.FileBasedIndexImpl - Indices to be rebuilt after version change:IdIndex,filetypes
2020-06-26 15:16:31,381 [ 10899] INFO - il.indexing.FileBasedIndexImpl - Indices to be built:hocon.keys,hocon.paths
2020-06-26 15:16:31,388 [ 10906] INFO - pl$FileIndexDataInitialization - Initialization done: 2729
2020-06-26 15:16:32,307 [ 11825] INFO - exImpl$StubIndexInitialization - Initialization done: 918
2020-06-26 15:16:32,309 [ 11827] INFO - il.indexing.FileBasedIndexImpl - START INDEX SHUTDOWN
2020-06-26 15:16:32,390 [ 11908] INFO - il.indexing.FileBasedIndexImpl - END INDEX SHUTDOWN
2020-06-26 15:16:32,390 [ 11908] INFO - stubs.SerializationManagerImpl - START StubSerializationManager SHUTDOWN
2020-06-26 15:16:32,391 [ 11909] INFO - stubs.SerializationManagerImpl - END StubSerializationManager SHUTDOWN
2020-06-26 15:16:32,391 [ 11909] INFO - newvfs.persistent.PersistentFS - VFS dispose started
2020-06-26 15:16:32,395 [ 11913] INFO - newvfs.persistent.PersistentFS - VFS dispose completed
2020-06-26 15:16:32,397 [ 11915] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE SHUTDOWN ------------------------------------------------------

1
19 comments
Avatar
Permanently deleted user

What i found out is my system (windows 10 update 1909) have ports 6894 till 6993 for exclusion list. There is no option in any config of intellij to change it's listening port.

So for the time being i have narrow down my exclusion list from 6894 to 6941 and it starts working then

 

 

 

https://support.microsoft.com/en-us/help/2665809/you-cannot-exclude-ports-by-using-the-reservedports-registry-key-in-wi

0

The IDE is starting a server on the localhost for internal processes and trying to bind on any port between 6942 and 6991. In your case, the problem occurred because all the ports in the required range are added to the exclusions list.

0

I had the same issue after I upgraded my windows to 2004 feature update. Before that everything worked smoothly. So I think there is an issue of the windows update which blocked the ports ideaj and pycharm to use in this update.

I tried to use tcpview to check which applications occupied the ports you mentioned, but there is no clue for me yet. So I can only use eclipse for my work temporarely unless the issue figured out.

If you don't have the issue, and try to upgrade windows to 2004 and maybe you can enable hyper-v and WSL2, not sure if these the reasons with my test.

0

Younky Yang If TcpView does not show any useful information, it probably means that there is a problem with the firewall settings or the antivirus blocks the connection. Make sure you have configured it correctly or try to temporarily disable them.

It also makes sense to execute the command netsh winsock reset and restart the PC.

11

I had the same problem, netsh winsock reset  solved it!

Thanks!

4

That command worked for me too.

0

That command didn't work for me, I had to uninstall and reinstall the Hyper-V feature for it to work.

0

Please see the WORKAROUND section in https://youtrack.jetbrains.com/issue/IDEA-238995 for the proper solution.

0

I was due to an accident in Windows and IDEA did not close properly.

netsh winsock reset

Reset the winsock directory to restore the network.

It worked for me, cool thanks!

2
Avatar
Permanently deleted user

This issue happens too frequently on my Windows computer, and not just with the IDE.
I remembered there was a similar issue with Docker for Windows, so I went back to the Github issue and found this:
https://github.com/docker/for-win/issues/3171#issuecomment-739740248

The following commands seem to have freed the ports without having to reboot (thank god 🙄).

net stop winnat
net start winnat

I will investigate more to make sure it works every time.

27
net stop winnat
net start winnat

Worked for me.
6

@...'s solution works 100%, I tried restarting, after running all previous commands to no avail.

1
net stop winnat
net start winnat

Worked for me awesomely
5
Avatar
Permanently deleted user

I suppose the "net stop winnat && net start winnat" method just shuffles attributed ports, so it's just a temporary workaround.

I retried the initial "solution" suggested on that same github issue and haven't had the problem since:

netsh int ipv4 set dynamic tcp start=49152 num=16384
netsh int ipv6 set dynamic tcp start=49152 num=16384
0
net stop winnat
net start winnat

works for me without needing to reboot with

netsh winsock reset
3
net stop winnat
net start winnat

wow it worked for me! :)

1

People! If you are a Unity developer using Rider on Windows 10. DONT SET YOUR PORT TO start=49152 num=16383. It will break your unity debugger. Set the range to "start=32768 num=32767" instead. This costs me 6 hours to figure out.

0

People! If you are a Unity developer using Rider on Windows 10. DONT SET YOUR PORT TO start=49152 num=16383. It will break your unity debugger. Set the range to "start=32768 num=32767" instead. This costs me 6 hours to figure out.

How to change port?

0

Please sign in to leave a comment.