Hacker News new | ask | show | jobs
by aszlig 2168 days ago
You 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/, the browser will try to connect to foo-9000.sock.