Sometimes, the users of Windows 11 may face the error message of “An established connection was aborted by the software in your host machine” on their PC screen. This issue is related to the server and may occur in Eclipse, Java, Android Studio, etc. Thus, this article provides all the solutions to this issue.

An established connection was aborted by the software in your host machine

Now, let us check all the fixes for solving this issue in detail.

Fix 1: Flushing DNS cache

The users can try flushing the DNS cache when struggled with aborted established connection. Thus, follow the steps for flushing the DNS.

Step 1- Firstly, open Command Prompt as an administrator.

Running Cmd as an administrator for fixing established connection was aborted

Step 2- Next, copy and paste the prompt given below in the Command Prompt window and press Enter.

ipconfig /flushdns

Flushing DNS cache for fixing established connection was aborted

Step 3- Lastly, exit the CMD. This should flush the DNS cache.

Fix 2: Closing any running program

Closing any running program on the PC can also help in solving the issue. Let us check how to do that.

Step 1- At first, right click the Start menu and open Task Manager.

Opening Task Manager for fixing established connection was aborted

Step 2- Next, go to Startup apps.

Disabling Startup app for fixing established connection was aborted

Step 3- Now, select all the Startup applications which are enabled and select Disable button.

Fix 3: Power Cycling the router

Another method which the users can try is power cycling the router. Thus, follow the steps for trying this fix.

Step 1- At first, turn off the router and then remove its plug from the socket.

Power cycling router

Step 2- Next, wait for a couple of minutes and turn on the router again.

Fix 4: Checking multiple instances of Eclipse software (if applicable)

The mentioned issue can also be a resultant of multiple instances of Eclipse running on the PC. In case of such scenarios, the users should close all other instances of Eclipse. Apart from that, the running of Android Studio and Eclipse together can also cause the problem. Thus, during such case, closing Android Studio and restarting Eclipse will fix the problem.

Disabling multiple instances of Eclipse Software

Fix 5: Disabling antivirus and firewall temporarily

Disabling antivirus and firewall temporarily can also aid in fixing the problem.

Now, for disabling Antivirus, follow the steps given below-

Step 1- Open Windows Security and go to Virus & threat protection.

Opening Virus & threat protection

Step 2- Next, select Manage settings and disable Real-time protection.

Managing settings of virus and threat protection

Disabling real-time protection

Again, for disabling Firewall, follow the below instructions-

Step 1- Again, open Windows Security and go to Firewall & network protection.

Choosing network in Firewall protection

Step 2- Further, choose the active network (Domain/Private/Public) and disable the Microsoft Defender Firewall.

Disabling Microsoft Defender Firewall

Fix 6: Restarting Eclipse software (if applicable)

Sometimes, a simple restart of the Eclipse Software can also aid in solving the problem. This is due to the fact that at times Eclipse might fail to establish a connection with the emulator which might cause the problem. Hence, just restarting the Eclipse can help fixing the issue.

Restarting Eclipse software

Lastly, wishing that the users of Windows can easily solve the issue of aborted established connection with all the fixes mentioned in this post.

Leave a Reply

Your email address will not be published. Required fields are marked *