Sample Header Ad - 728x90

port being in use not displayed in netstat output

20 votes
5 answers
48110 views
In what scenarios port being used by a process don't show up in netstat -a output? I'm running jenkins on my machine. It's listening on port 8080. I'm trying to start another process that tries to bind on same port and it fails with error that port is already in use. Now when I do netstat -a | grep 8080, it doesn't show up in output. After stopping jenkins my process successfully bound to 8080. Any clues what happening? I'm running CentOS.
Asked by s.r (361 rep)
Jul 21, 2014, 11:06 AM
Last activity: May 12, 2025, 03:31 PM