Reputation: 348
I have installed a repo from docker and ran it using the following command,
docker run -d --name searx -p $PORT:8888 wonderfall/searx
The container was also sucessfully created but while accessing it in my browser i get the following error,
dail tcp[::1]:8888: connectex: No connection could be made because the target machine actively refused it.
Does anyone know why this error occurs? I use a windows10 system.
Upvotes: 1
Views: 732
Reputation: 1325137
Just installed docker toolbox
That means you cannot use localhost directly without declaring in Virtual Box a port-forwarding rule.
First, test your service using the IP of your VM (see docker-machine ip default
output)
http://<ip>:8888
Then, declare a port-forward rule:
VBoxManage controlvm
commands: see "Not able to access tomcat application on Docker VM with host(windows) IP while using docker toolbox"Upvotes: 2