Welcome to the navigation

Reprehenderit sit aute dolore et sed do occaecat velit enim id veniam, labore in voluptate nisi mollit pariatur, eiusmod exercitation adipisicing consequat, sunt ipsum eu. Eu dolor magna aliquip sed excepteur ut ex id sunt anim pariatur, in incididunt consectetur eiusmod commodo proident, duis tempor amet, adipisicing esse ut aliqua

Yeah, this will be replaced... But please enjoy the search!

Docker error "Ports are not available" on Windows 10

Categories Tags

Windows 10 can sometimes hog ports and sockets preventing us from using them with services like docker. This renders error like this

docker : Error response from daemon: Ports are not available: listen tcp 0.0.0.0:1433: bind: 
An attempt was made to access a socket in a way forbidden by its access permissions. At line:1 char:1 + docker start sqlexpress + ~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (Error response ...ss permissions.:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError Error: failed to start containers: sqlexpress

Stopping winnat

To fix this you must temporarily disable the winnat service, this is simply done by running this command (must be run as administrator)

net stop winnat

Start your docker services and start winnat again

net start winnat

Enjoy