Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8372859
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T14:32:28+00:00 2026-06-09T14:32:28+00:00

I have a vm in vmware workstation, it’s bridged network and DHCP. The IP

  • 0

I have a vm in vmware workstation, it’s bridged network and DHCP. The IP assigned by DHCP server is 10.21.245.22. Here is my /etc/hosts looks like:

127.0.0.1 hadoop-namenode-01 localhost

I am running command A and B on the box itself.

Command A:

root@hadoop-namenode-01:~# nmap -sT -sU -p- localhost

Starting Nmap 5.21 ( http://nmap.org ) at 2012-08-10 09:32 PDT
Nmap scan report for localhost (127.0.0.1)
Host is up (0.00029s latency).
rDNS record for 127.0.0.1: hadoop-namenode-01
Not shown: 131058 closed ports
PORT      STATE         SERVICE
22/tcp    open          ssh
53/tcp    open          domain
631/tcp   open          ipp
8020/tcp  open          unknown
9000/tcp  open          cslistener
9001/tcp  open          tor-orport
50070/tcp open          unknown
53/udp    open|filtered domain
68/udp    open|filtered dhcpc
123/udp   open          ntp
5353/udp  open|filtered zeroconf
47982/udp open|filtered unknown

Nmap done: 1 IP address (1 host up) scanned in 12.45 seconds

Command B:

root@hadoop-namenode-01:~# nmap -sT -sU -p- 10.21.245.22

Starting Nmap 5.21 ( http://nmap.org ) at 2012-08-10 09:28 PDT
Nmap scan report for wn7x64-3jql0q1.dub.emea.dell.com (10.21.245.22)
Host is up (0.00029s latency).
Not shown: 131065 closed ports
PORT      STATE         SERVICE
22/tcp    open          ssh
68/udp    open|filtered dhcpc
123/udp   open          ntp
5353/udp  open|filtered zeroconf
47982/udp open|filtered unknown

Nmap done: 1 IP address (1 host up) scanned in 12.20 seconds

My question is :

since I have no firewall or anything like that blocking ports, why nmap shows more ports open when it’s running against localhost while less ports are shown when it’s running against the ip.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T14:32:29+00:00Added an answer on June 9, 2026 at 2:32 pm

    why nmap shows more ports open when it’s running against localhost
    while less ports are shown when it’s running against the ip

    Some applications decided to explicitly listen (bind actually) only on localhost, i.e. 127.0.0.1. You can do a netstat to check things out.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have installed Windows Server 2008R2x64 under VMWare Workstation, to test installation of my
I am running windows server 2008 in vmware workstation and there I have installed
Have a procedure which looks like Procedure TestProc(TVar1, TVar2 : variant); Begin TVar1 :=
I have Riak (1.0.2) installed in my VMWare Workstation running Ubuntu Linux Natty. It's
We have a VMWare image running a gforge instance in our local network. We
Im have a lab-environment in VMware with a WS2008R2-server and a W7-client. Im trying
i have a virtual ubuntu server running in windows 7 pro using VMware Player.
Modern hardware-assisted desktop virtualization products (like VMWare Workstation or VirtualBox) normally provide the guest
I have the following constellation here: I have running a VMware Linux Ubuntu image
I am on the latest version of VMWare Workstation. In my VMWareTools I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.