I was trying to understand what the --numeric
/-n
flag of netstat does? Manual says the following about --numeric
/-n
--numeric , -n
Show numerical addresses instead of trying to determine symbolic host, port or user names.
Following is a line of output with "-n" option
tcp 0 0 :::8080 :::* LISTEN -
Following is the same line as in A but without "-n" option
tcp 0 0 *:terabase *:* LISTEN -
port 8080 in my case is associated with solr. I have no idea why it's being listed as terabase. That's why I am wondering how netstat determines symbolic host. It would be helpful if someone can throw light on this.