linux
- "netstat -anpt | grep -i listen | grep 8888" will find out the process id is running on that port.
- "/usr/sbin/lsof -p
" find out what file and sockets it opens. "lsof -P -n -i TCP" will list all the TCP sockets with unresolved (numeric) IP and port
No comments:
Post a Comment