Hi all, I have selfhosted various services on my server via docker such as the whole *rr suite, plex, jellyfin, pihole, nginx, qbittorrent.

Out of curiosity I ran an nmap on the server IP but I see a lot less ports than I actually use.

With nmap 192.168.1.180 i see:

  • 53/tcp open domain
  • 80/tcp open http
  • 81/tcp open hosts2-ns [this is nginx]
  • 443/tcp open https
  • 6881/tcp open bittorrent-tracker
  • 8080/tcp open http-proxy [this is pihole]
  • 9091/tcp open xmltec-xmlmail [this is qbittorrent]

Why don’t I see all the ports for all the services?

  • zoredache@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Are you running nmap from the system itself? Depending on the network type you use docker does some pretty complicated things with NAT, so scanning a machine from itself isn’t always very useful.