Type the following commands, pressing Enter after each command: netsh int ip reset reset. Two suggestions I have found can sometimes help get a remote sessions via psexec in metasploit: Try different targets. > regards > Vivek Goel > Mime Causes for Java. With this info, I could clearly point out that our API server did not cause the connection reset and in fact, it turned out that it was a DPI firewall that was blocking the packets.
The timeout can occur on your computer, on the server, or on a firewall between them. In this case, you need to check whether there is a periodic disconnection on the network interface, and whether the IP address changes when the OS boots (it is better to use a static IP instead of dynamic DHCP ). The server will dictate its process that connection close has been requested and will not send any segment to the client.