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 Following is the same line as in A but without “-n” option port 8080 in my
Tag: netstat
How to find a free TCP port
How do I find a completely free TCP port on a server? I have tried the command line; but I am told the ones with a status of LISTENING are already being used. I also tried a tool called TCPView but again it only showed which TCP ports were being used. I know how to telnet to a port to
netstat commands to run on unix server, what commands should I use for my use-case and why?
Sorry in advance for such a noob question, but I’m certainly a noob. My question is what does it mean to LISTEN or ACCEPT on a port as it relates to my example? EXAMPLE: I have a tomcat server, and It will use port 8080. I want to make sure that port is available for me to use. What commands