Spring Boot with Redis Hash and Document Properties For setting connection manually spring.redis.host=localhost spring.redis.port=6379 You can refer this to know how to specify connection manually.