How is it possible that netstat -a | grep 8081 shows this:
localhost.8081 *.* 0 0 49152 0 LISTEN *.8081 *.* 0 0 49152 0 LISTEN I don't really understand which means the second entry.
UPDATE_1: I've checked that two different processes are listening on 8081... I used to believe that this is not possible. One process is Jboss, which 8081 port is used to serve browser requests, and the other is Gitblit GO (It could have an embeded server in JAR), which 8081 port is used to shutdown.
lsofinstalled, runlsof -i tcp:8081and post the output in the question.lsof. And my SO is Solaris.netstat -l -nshow? I'm guessing that you'll see an IPv4 and IPv6 address.netstatdirectly to get the process(s) listening on a port. On Solaris 10, see stackoverflow.com/questions/13246309/…