Nmap does not discover sql server ports during port scan


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?

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

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

Did you try to run nmap with sudo ?