Merge pull request #910 from kevinll/patch-1

Update hellonode.md
This commit is contained in:
Josh Hoak
2016-07-26 16:47:26 -07:00
committed by GitHub
+5 -1
View File
@@ -104,7 +104,11 @@ $ curl http://localhost:8080
Hello World!
```
**If you recieve a `Connection refused` message from Docker for Mac, ensure you are using the latest version of Docker (1.12 or later).**
**If you recieve a `Connection refused` message from Docker for Mac, ensure you are using the latest version of Docker (1.12 or later). Alternatively, if you are using Docker Toolbox on OSX, make sure you are using the VM's IP and not localhost :**
```shell
$ curl "http://$(docker-machine ip YOUR-VM-MACHINE-NAME):8080"
```
Lets now stop the container. In this example, our app was running as Docker process `2c66d0efcbd4`, which we looked up with `docker ps`: