http://cafe.naver.com/junes81/6088
[root@localhost ~]# netstat -anlp |grep LIST
tcp        0      0 0.0.0.0:11211               0.0.0.0:*                   LISTEN      31439/memcached
tcp        0      0 127.0.0.1:6379              0.0.0.0:*                   LISTEN      31422/redis-server
tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      20870/sshd
tcp        0      0 :::11211                    :::*                        LISTEN      31439/memcached
tcp        0      0 :::80                       :::*                        LISTEN      1564/httpd
tcp        0      0 :::22                       :::*                        LISTEN      20870/sshd
tcp        0      0 :::443                      :::*                        LISTEN      1564/httpd
/etc/redis.conf
port 6379
# If you want you can bind a single interface, if the bind option is not
# specified all the interfaces will listen for incoming connections.
#
bind 127.0.0.1   
# ÀÚ±âÀڽŸ¸ ¿ÀǵǾîÀÖÀ¸¸ç ¿ÜºÎ¿¡¼ Á¢±ÙÀ» Çã¿ëÇÒ¶§´Â ÁÖ¼®Ã³¸®¸¦ Çϰųª ¾Ë¸Â°Ô ¼öÁ¤!!
¼öÁ¤ÈÄ µ¥¸ó ¸®½ºÅ¿
[root@localhost ~]# /etc/init.d/redis restart
Stopping redis-server:                                     [  OK  ]
Starting redis-server:                                     [  OK  ]
[root@bb ~]# !net
netstat -anlp |grep LIST
tcp        0      0 0.0.0.0:6379                0.0.0.0:*                   LISTEN      2348/redis-server
tcp        0      0 0.0.0.0:11211               0.0.0.0:*                   LISTEN      31439/memcached
tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      20870/sshd
tcp        0      0 :::11211                    :::*                        LISTEN      31439/memcached
tcp        0      0 :::80                       :::*                        LISTEN      1564/httpd
tcp        0      0 :::22                       :::*                        LISTEN      20870/sshd
tcp        0      0 :::443                      :::*                        LISTEN      1564/httpd
unix  2      [ ACC ]     STREAM     LISTENING     8702   968/dbus-daemon     /var/run/dbus/system_bus_socket
unix  2      [ ACC ]     STREAM     LISTENING     7122   1/init              @/com/ubuntu/upstart