-1

error image I tried before link 1link 2 link 4 and Clear idea cache. There is no error when deleting tomcat. netstat -ano did not find 1099 I have run the code without any problems, this problem is sometimes sometimes not.

blackgreen
  • 34,072
  • 23
  • 111
  • 129

2 Answers2

0

This may be a bug in idea

You can try the following: Run cmd as an administrator netsh winsock reset Then restart the computer

Hope your problem can be solved

LHZ
  • 1
  • 1
0

Okay, but I don't know what to do next time. I reinstalled jdk IDEA tomcat and it didn't work. I also reset the network, but it didn't work. After a while, I changed a project and it didn't work, but I changed it back and it was fine.

My solution is as follows:

  • Open powershell with administrator privileges

  • netsh int ipv4 set dynamic tcp start=49152 num=16384

  • netsh int ipv6 set dynamic tcp start=49152 num=16384

  • netsh int ipv4 show dynamicport tcp

Additional references:

WSL2, Hyper-V & Reserved Ports

Unable to bind ports: Docker-for-Windows & Hyper-V excluding but not using important port ranges #3171

The default dynamic port range for TCP/IP has changed since Windows Vista and in Windows Server 2008

blackgreen
  • 34,072
  • 23
  • 111
  • 129