IDEA cannot start after hyper-V /Docker is installed

After the hyper-V function is enabled and Docker for Windows is installed, IDEA is stopped on the startup interface and there is no response. Java.net.BindException: Address already in use: bind

IDEA log file in user directory AppData\Local\JetBrains\ corresponding IDEA version \ieal.log (AppData is system hidden folder)

See what the error message should be which port is occupied.

The system just installed hyper-V virtual machine and Docker for Windows, Windows will keep some ports. During the startup of IDEA, an available port between ports 6942 and 6991 will be found and bound.

Solutions:

Use the super administrator account to open Power Shell and view the existing dynamic port configuration:

netsh int ipv[46] show dynamicport tcp
Copy the code

Changing the dynamic port range:

netsh int ipv[46] set dynamic tcp start=49152 num=16384
Copy the code

Restart the system.

Reference:

Github.com/docker/for-…

Docs.microsoft.com/en-US/troub…


All original articles on “Siege Lion · Zheng” unless otherwise noted.

Link to this article: engr-z.com/436.html