On my machine I'm running an application in Docker (it runs on http://localhost:8181).
I've started Docker with docker run -p 8181:8181 myapp
.
After some searching I've tried to send my request to the output of docker0
when I run ifconfig, which is 172.17.0.1, and the ip of my computer. I've also tried localhost and 0.0.0.0: http://<ip>:8181/myapp
. I'm running Ubuntu 16.04.
How can i send a request to the server running in docker?