I have a ubuntu container running but I cannot wget the localhost that is running my docker image.
For example, I use a lenovo laptop that runs docker. I then log into my laptop to start and run a ubuntu container. When I ssh into the ubuntu container I am not able to wget localhost url's. Is there a way to connect containers to localhost? Also how many ways can you connect to localhost via a docker container.
This is the error message I get when I wget
root@090cdf22ac53:/openchain# wget 127.0.0.1:8090
converted 'http://127.0.0.1:8090' (ANSI_X3.4-1968) ->
'http://127.0.0.1:8090' (UTF-8)
--2017-09-01 04:41:22-- http://127.0.0.1:8090/
Connecting to 127.0.0.1:8090... failed: Connection refused.
Thanks in advance, all the questions similar to this do not answer my question.