-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
127.0.0.1 override every host set in constructor #568
Comments
dreambo8563
added a commit
to dreambo8563/ts_node
that referenced
this issue
Jan 23, 2018
* user session 没有存入redis * 因为有issue,需要提前创建好redisclient,否则host 会被覆盖成127.0.0.1 https://stackoverflow.com/search?q=docker+redis+express+session redis/ioredis#568
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 7 days if no further activity occurs, but feel free to re-open a closed issue if needed. |
Can we get a response on this? I'm just now facing this issue as well. Is the solution to downgrade? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
With ioredis > 3.1.2, it is not possible to connect to adresses other than 127.0.0.1. The host is automatically replaced by 127.0.0.1.
I tried to use new Redis(object), new Redis(6379, host). Both are being replaced.
Thanks.
The text was updated successfully, but these errors were encountered: