Unrecognized Windows Sockets error: 10106: solution to create

Socket cannot be created on a Windows system, resulting in many problems such as inaccessible, service cannot be created

Operational environment error situation resolution reference

The operating environment
Win7, the latest version of Eclipse, JDk8, Redis3.x, Maven3.5.x
Error scenario
Personal error reporting using Java client operation RedIS (non-clustered mode) :

Unrecognized Windows Sockets error: 10106: create
。。。

Other situations
When Tomcat in Eclipse starts up, it complains that the port is occupied by undertown/ when Tomcat starts up, HTTP cannot be accessed
At the code level, in the development environment, the IDE finds no bugs, almost inexplicably
To solve
Just follow the steps
Open the command prompt as an administrator (right-click in win7 attachment command operator , select run in administrator mode, win8 or 10, search command operator in the menu first, and then right-click…) Run netsh winsock reset restart the computer
reference
https://blog.csdn.net/u011019141/article/details/79154696

Read More: