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 6813203
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:32:33+00:00 2026-05-26T20:32:33+00:00

I have to scan a Ubuntu server (installed as a virtual machine on my

  • 0

I have to scan a Ubuntu server (installed as a virtual machine on my Mac) for open ports. I used the netcat utility and it shows a nice list of all the open ports on my virtual machine. However, when I use NMap, it is giving me some strange results.

Using Netcat:

nc -z 192.168.1.10 1-1023Connection to 192.168.1.10 22 port [tcp/ssh] succeeded!
Connection to 192.168.1.10 25 port [tcp/smtp] succeeded!
Connection to 192.168.1.10 53 port [tcp/domain] succeeded!
Connection to 192.168.1.10 80 port [tcp/http] succeeded!
Connection to 192.168.1.10 110 port [tcp/pop3] succeeded!
Connection to 192.168.1.10 139 port [tcp/netbios-ssn] succeeded!
Connection to 192.168.1.10 143 port [tcp/imap] succeeded!
Connection to 192.168.1.10 445 port [tcp/microsoft-ds] succeeded!
Connection to 192.168.1.10 993 port [tcp/imaps] succeeded!
Connection to 192.168.1.10 995 port [tcp/pop3s] succeeded!

Command 1:
nmap -sP -vv –packet-trace 192.168.1.10
Result:
Nmap scan report for 192.168.1.10
Host is up (0.00096s latency).
Read data files from: /usr/local/share/nmap
Nmap done: 1 IP address (1 host up) scanned in 0.07 seconds

Command 2:
sudo nmap -sF -v -r 192.168.1.10

Results:
Starting Nmap 5.51 ( http://nmap.org ) at 2011-10-30 17:27 EDT
Initiating Ping Scan at 17:27
Scanning 192.168.1.10 [4 ports]
Completed Ping Scan at 17:27, 3.02s elapsed (1 total hosts)
Nmap scan report for 192.168.1.10 [host down]
Read data files from: /usr/local/share/nmap
Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn
Nmap done: 1 IP address (0 hosts up) scanned in 3.15 seconds
Raw packets sent: 8 (304B) | Rcvd: 0 (0B)

When I tried to run NMap on a Windows Client with a similar setup (Ubuntu server running on a VM), the 2nd command worked fine. Can some one please explain the paradox between the outputs of command 1 and command 2 on a Mac?

  • 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-05-26T20:32:34+00:00Added an answer on May 26, 2026 at 8:32 pm

    Have you tried supplying ‘-P0’ or ‘-Pn’ to the command line arguments? I’m not familiar with Macs but it might be blocking the ping probes, which causes nmap to abort immediately.

    Whether or not nmap adds in firewall rules by itself when it’s installed on Windows is also a possibility, hence why you don’t see the same results.

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

Sidebar

Related Questions

A workstation is scanning ports in the LAN; however virus scan have not picked
I have written an application which is used to scan orders and change their
I have a body of text that I have to scan and each line
I have a directory of files that I would like to scan on a
I have a very simple python script that should scan a text file, which
I have a function that I'm using while(true) to repeatedly scan memory addresses of
Have you ever seen any of there error messages? -- SQL Server 2000 Could
Have you used VS.NET Architect Edition's Application and System diagrams to start designing a
I have to create a software that will scan several directories and extracts information
I have a scan results of some 50 vlans it was easy when i

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.