I am a newbie with docker. I need to use it at windows 7*64 , via docker toolbox
. I need to make a connection to server below:
Run the server:
docker run -p 4444:4444 mycontainerWithServer
After this i open new docker toolbox window and try to connect to localhost:4444
. I get ConnectionRefused error.
Because you are using the Docker toolbox you don't access your containers on
localhost
. The toolbox uses192.168.99.100
by default because it is running on a Linux VM. Try replacing localhost with the VM IP.