Driver failed programming external connectivity on endpoint memsql-ciab

I just started with memSQL. I’m trying to install memSQL in Windows 10.

I followed all the procedure described in “Before you Begin” of “Run the Cluster-in-a-Box Container”, reached by SingleStoreDB Cloud · SingleStore Documentation

I also followed the steps as described in “Run the Container”, but when I run the following command:
docker run -i --init --name memsql-ciab
-e LICENSE_KEY=$env:LICENSE_KEY -p 3306:3306 -p 8080:8080
memsql/cluster-in-a-box

I got the error response:
C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Error response from daemon: driver failed programming external connectivity on endpoint memsql-ciab (9490aeac40a28004bfc08aee7ccee539861abb7baadab28bfa4be96cbc3d754b): Error starting userland proxy: Bind for 0.0.0.0:3306: unexpected error Permission denied.

Any suggestions please?

Hi @std104531,

Looks like that error can come up when another process has the same port open, so can you see if port 3306 already in use on that machine? To find out, try running netstat –ano | find “3306”.

If you already have another process listening on that port, you can either kill that process or change the -p forward port in the docker run command to something other than 3306, like -p 3307:3306 .

1 Like

Thanks!!! I changed the port.

To avoid confusion, since 3307 is the port of the leaf node within the docker container, it’s better using other than 3307, like -p 4000:3306 (changing 3307 to 4000).