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

Support for unix sockets? #1751

Closed
rayshan opened this issue May 1, 2014 · 7 comments

Comments

Projects
None yet
7 participants
@rayshan
Copy link

commented May 1, 2014

Hello, thanks for all the hard work on this. Is there a way to connect to unix sockets? E.g. /tmp/redis-app.sock. I can only seem to be able to enter host:port in the Add New Connection dialog. Thanks.

@uglide uglide added the new feature label May 1, 2014

@uglide uglide added this to the 0.8.0 milestone May 1, 2014

@uglide

This comment has been minimized.

Copy link
Owner

commented May 1, 2014

Hello @rayshan
This feature not implemented yet. Your suggestion is very useful and I will add this feature in backlog

@uglide uglide modified the milestones: 0.9.0, 0.8.0 Sep 10, 2014

@nq-ebaratte

This comment has been minimized.

Copy link

commented Oct 10, 2014

I was confronted with the same problem; a temporary workaround consists in redirecting a local socket to the unix domain socket, for instance with socat

 socat -v tcp-l:6379,reuseaddr,fork unix:/tmp/redis.sock
@simonwiles

This comment has been minimized.

Copy link

commented Nov 7, 2014

thank you @nq-ebaratte!

@uglide uglide modified the milestones: 1.0.0, 0.9.0 Jul 18, 2015

@kanevbg

This comment has been minimized.

Copy link

commented May 26, 2017

+1

@katuknow katuknow removed this from the 1.0.0 milestone Sep 15, 2017

@katuknow katuknow added wontfix and removed new feature labels Sep 15, 2017

@katuknow katuknow closed this Sep 15, 2017

@slavaGanzin

This comment has been minimized.

Copy link

commented Dec 5, 2018

Why the hell "wontfix"? It's basic and easy feature.

@uglide

This comment has been minimized.

Copy link
Owner

commented Dec 5, 2018

@slavaGanzin Yes, it's easy to add local unix socket connection and No, it's quite hard to support it in common case. Unix socket is used on production environment and RDM needs to support unix sockets over SSH tunnel which is not that easy (underlying libssh2 library does not support forwarding for unix sockets).

@slavaGanzin

This comment has been minimized.

Copy link

commented Dec 5, 2018

@uglide I'm talking about plain "same host" unix socket. So you can choose to use TCP stack (e.g. host:port) or unix socket file (/tmp/redis.sock). Without fancy tunneling, which I think is a user responsibility and trouble.

Most users don't bother, because they have open localhost:6379, but as you may know tcp is relatively (up to 33%) slower than unix socket: http://momjian.us/main/blogs/pgblog/2012.html#June_6_2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.