显示连接失败
docker@default:~$ docker run -d -p 9000:80 daocloud.io/library/nginx
ae79751514aee5ebdae0ad4377724015e15f94ff8712feec2dace930e10f1984
docker@default:~$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
ae79751514ae daocloud.io/library/nginx "nginx -g 'daemon of…" 46 seconds ago Up 45 seconds 0.0.0.0:9000->80/tcp relaxed_jackson
docker@default:~$ netstat -na|grep 9000
tcp 0 0 :::9000 :::* LISTEN
然后访问localhost:9000显示连接失败