memcached -u www-data -m 2048 -d
After I run the above,I've no idea which port it's using ...
|
feedback
|
|
you can use netstat -lp -l is short form of --listening and -p is short form of --program For example, to list programs listening on TCP ports (-t or --tcp) and show ports and IPs numerically (-n or --numeric): $ netstat -nltp
| |||
|
feedback
|