Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

io.lettuce.core.RedisConnectionException: Unable to connect to host:port #51

Closed
chenbodeng719 opened this issue Jan 10, 2024 · 3 comments

Comments

@chenbodeng719
Copy link

我用脚本能连(和flink在一个机器上),但是flink连不上redis了?

@jeff-zou
Copy link
Owner

jeff-zou commented Jan 11, 2024 via email

@chenbodeng719
Copy link
Author

chenbodeng719 commented Jan 12, 2024 via email

@jeff-zou
Copy link
Owner

jeff-zou commented Feb 1, 2024

在同一台机上测试也没有问题哦,可以提供一下详细的报错日志么?
create table sink_redis(name varchar, level varchar, age varchar) with ( 'connector'='redis', 'host'='10.11.69.176','port'='6379', 'redis-mode'='single','password'='***', 'command'='HSET' )
使用非127.0.0.1试试。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants