how to get ip and port of redis server code example Example: redis cache start sudo /etc/init.d/redis_6379 start