- Published on
How To Solve "Docker ports are unavailable"
- Authors

- Name
- Mohammad Kanaan
This issue is caused by windows allocating ports without unallocating them. That leaves us with "occupied" ports which should be available. The following command will force the WinNat service to restart and effectively clearing the cache.
Run the following command in Powershell
net stop winnat
That's it, you should be good to go.