Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fix "VirtualBox Interface has active connections" error in Windows?

Windows 10 is displaying a VirtualBox Interface has active connections error message when shutting down after using Docker Quickstart Terminal on Virtual Box.

I tried to fix this by typing exit to close the terminal.

How can I smoothly close the terminal and get rid of the error message?

like image 277
Ricardo Mendes Avatar asked Jun 12 '19 12:06

Ricardo Mendes


People also ask

Why VirtualBox interface has active connections?

If BlueStacks on your computer is not up to date, you may encounter the "VirtualBox interface has active connections" error message when you turn off your PC. In this situation, you'd better update BlueStacks on your computer to fix this error.

Is VirtualBox safe?

Both VirtualBox and VMWare are safe, reputable hypervisors. A website that looks "old" is not an indicator of malice, and sometimes the most reputable websites look very old indeed. VMWare has more closed source components than VirtualBox, which can make it less trustworthy as a result of a closed design.


3 Answers

I came here because the title of this topic does not mention Docker. I had the same problem when using the application BlueStacks in Windows 10, without Docker. Windows did not shut down (or took a long time to do so) because 'VirtualBox still has active connections'. I'd like to share my solution here, using BlueStacks as just an example. I solved this by creating a task in task manager that runs a script on shutdown. The script kills the VirtualBox process, which is perfectly safe. Creating such a task is described here: https://superuser.com/questions/165142/using-task-scheduler-to-run-a-task-before-shutdown The script for killing a process: wmic process where "name='BstkSVC.exe'" delete

Maybe this helps anyone who came here and is not using a container. Thanks.

like image 93
Kjeld Avatar answered Oct 08 '22 10:10

Kjeld


Using the bellow commands should fix it:

docker-machine stop
exit
like image 27
Ricardo Mendes Avatar answered Oct 08 '22 10:10

Ricardo Mendes


I was also fed of this problem but finally got a solution. Just open the Task Manager then check for the Bluestacks Virtual Interface . Right click on it and click End Task. I'm assuming that this is the problem due to the Bluestacks installed on your computer.

like image 1
MUDIT PANDEY Avatar answered Oct 08 '22 10:10

MUDIT PANDEY