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

JedisPool with one arg constructor fails #1

Closed
m-heuser opened this issue Aug 30, 2010 · 1 comment
Closed

JedisPool with one arg constructor fails #1

m-heuser opened this issue Aug 30, 2010 · 1 comment

Comments

@m-heuser
Copy link
Contributor

When i try to setup a JedisPool with:
JedisPool pool = new JedisPool("localhost", Protocol.DEFAULT_PORT);
the pool will fail to create connection. At least i have to set the port:
JedisPool pool = new JedisPool("localhost", Protocol.DEFAULT_PORT);
So my guess is that the function JedisPool(String host) is not setting the default port.

@xetorthio
Copy link
Contributor

Thanks a lot for reporting this. It is now fixed on the master branch.

HeartSaVioR referenced this issue in HeartSaVioR/jedis Jul 6, 2014
marcosnils added a commit that referenced this issue Jan 16, 2016
Integration tests for SSL/TLS with failure mode tests for hostname ve…
@chayim chayim mentioned this issue Nov 15, 2021
This issue was closed.
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