docker ps
dit il y a trois ports redirigés:docker ps montre différents ports que nmap
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
06584d4ad44e quay.io/coreos/etcd:v3.1.8 "etcd -name etcd01..." 2 days ago Up 3 minutes 0.0.0.0:2379-2380->2379-2380/tcp, 0.0.0.0:4001->4001/tcp etcd01
Mais nmap -sT 127.0.0.1
ne peut trouver le 4001
:
Starting Nmap 7.40 (https://nmap.org) at 2017-06-13 00:06 CEST
Nmap scan report for localhost (127.0.0.1)
Host is up (0.0011s latency).
Not shown: 969 closed ports, 30 filtered ports
PORT STATE SERVICE
4001/tcp open newoak
Comment se fait? Puis-je vérifier si les ports sont là d'une autre manière?
Avez-vous essayé 'netstat -tunlp' (ubuntu) | 'netstat -avn' (mac)? – German
Exécuter 'sudo'? – johnharris85