1. netsh int ip reset resetlog.txt
2. netsh winsock reset
3. reboot
First 2 commands will convert the network setting of your server to dhcp, therefore before you reboot, make sure to change ip setting to static ip otherwise after reboot you will not able to access the server.