Nmap does not discover sql server ports during port scan

Hi,

For some reason namp port scan was done as per the command given in the solution for black-box-pen-test-2 lab, but it did not discover the sql server ports for me. It did find the other http and ssh ports. There are 2 machines running sql servers and both were not reported by nmap scan. The entire port range was scanned,

Did anyone else face this issue?
Thanks.

Hi!
Can you share the command you executed?
Thanks! :smiley:

nmap -sV -n -v -Pn -p- -T4 -iL 172.16.64.81 -A --open

Did you try to run nmap with sudo ?