To gather more information about a service running on a system’s open port we are going to use a known technique, known as banner grabbing and netcat network tool.
nc -nvv x.x.x.x 80
-n Suppress name/port resolutions
You will get an answer like this:
Connection to 18.104.22.168 80 port [tcp/*] succeeded!
if the connection was established.
Then type the following command:
HEAD / HTTP/1.0
To get the http headers:
HTTP/1.1 200 OK