我有一个弹簧引导应用程序。我想通过jedisconnectionfactory连接到Redis云服务器,但我做不到。实际上,当我使用本地Redis服务器时,它可以工作。
我编写的Redis配置如下所示。
@Configuration
public class RedisConfig {
@Bean
public JedisConnectionFactory connectionFactory() {
RedisStandaloneConfiguration configuration = new RedisStandaloneConfiguration();
我的azure应用程序成功地与azure sql数据库一起运行,但现在我希望使用我自己的数据库服务器来运行云应用程序,因为它们的数据安全性。为此,我们可以使用云应用程序从我们自己的系统建立本地数据库连接,并使用以下链接通过以下步骤完美地连接到我的数据库。
After this i deployed my application in to azure and it deployed without any error.but when i try to run my cloud application using cloud url like xxx.cloud