3 ms·
So how do I access a unix socket in my browser? Be nice if "unix://file/path.html" worked.
by tenebrisalietum 6y ago
So how do I access a unix socket in my browser? Be nice if "unix://file/path.html" worked.
- aszlig 6y agoYou could map different ports to specific socket file names and use a dummy address, eg. like this: ip2unix -r out,addr=127.1.1.1,path=foo-%p.sock firefox --new-instance Whenever you then head over to something like http://127.1.1.1:9000/ http://127.1.1.1:9000/, the browser will try to connect to foo-9000.sock.