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
Closed

Support for unix sockets? #1751

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

Comments

@rayshan
Copy link

@rayshan rayshan 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 this to the 0.8.0 milestone May 1, 2014
@uglide
Copy link
Owner

@uglide uglide 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 added this to the 0.9.0 milestone Sep 10, 2014
@uglide uglide removed this from the 0.8.0 milestone Sep 10, 2014
@nq-ebaratte
Copy link

@nq-ebaratte nq-ebaratte 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
Copy link

@simonwiles simonwiles commented Nov 7, 2014

thank you @nq-ebaratte!

@uglide uglide added this to the 1.0.0 milestone Jul 18, 2015
@uglide uglide removed this from the 0.9.0 milestone Jul 18, 2015
@kanevbg
Copy link

@kanevbg kanevbg commented May 26, 2017

+1

@katuknow katuknow removed this from the 1.0.0 milestone Sep 15, 2017
@katuknow katuknow closed this Sep 15, 2017
@slavaGanzin
Copy link

@slavaGanzin slavaGanzin commented Dec 5, 2018

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

@uglide
Copy link
Owner

@uglide uglide 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
Copy link

@slavaGanzin slavaGanzin 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
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
7 participants