Differences between revisions 2 and 3
Revision 2 as of 2022-01-25 13:13:24
Size: 536
Editor: scot
Comment:
Revision 3 as of 2022-01-25 13:13:48
Size: 545
Editor: scot
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
You try to run a SQL Server docker image with the default port (1433) and you get the following error message: Problem: You try to run a SQL Server docker image with the default port (1433) and you get the following error message:

SQL Server Docker Fix

Problem: You try to run a SQL Server docker image with the default port (1433) and you get the following error message:

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. Error: failed to start containers: sqlserver

Ok, there is a simple fix for this in windows 10/11 that has worked for me in the past:

> net stop winnat
> docker start sqlserver
> net start winnat

WebServices/SqlServerDockerFix (last edited 2022-01-25 14:39:02 by scot)