Don't think it is the actual issue, but spotted that in the provided configuration, the port is set first to '6379' then set to '0'.