I entered the container and check which server are there.
$netstat -an|grep LISTEN
tcp6 0 0 :::9000 :::* LISTEN
then I try to connect
$curl http://127.0.0.1:9000
curl: (56) Recv failure: Connection reset by peer
mmmm, tcp6 is ipv6? am I correct?? and how can I access to this?
I understood this is the ipv6 address. So I am trying to do like these below but invain.
$curl -g -6 'http://[::9000]/'
curl: (7) Couldn't connect to server
$curl -g 'http://[::9000]/'
curl: (7) Couldn't connect to server