Ports are not available:
Errror from docker:
Error response from daemon: Ports are not available: exposing port TCP 0.0.0.0:5179 -> 0.0.0.0:0: listen tcp 0.0.0.0:5179: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
Use command to see excluded ports: interface ipv4 show excludedportrange protocol=tcp
C:\Users\eni22>netsh interface ipv4 show excludedportrange protocol=tcp
Protocol tcp Port Exclusion Ranges
Start Port End Port
---------- --------
4712 4811
4812 4911
4912 5011
5041 5140
5174 5273
5427 5526
5627 5726
5753 5852
5940 6039
6040 6139
6140 6239
6240 6339
50000 50059 *
* - Administered port exclusions.
Solution:
1. netsh int ip reset
Then restart the computer
2. Move needed port outside of what is blocked, if step 1 fails
Comments
Post a Comment