Skip to content

Workers bind to external network interface by default #11598

@garrison

Description

@garrison

When running julia -p 2, I was surprised to learn that the workers are told to bind to my external network interface.

$ ps x
 5144 pts/12   Sl+    0:01 ./julia -p 2
 5152 ?        Ssl    0:00 /home/garrison/julia/usr/bin/julia -Cnative -J/home/garrison/julia/usr/lib/julia/sys.ji --bind-to 192.168.1.101 --worker
 5153 ?        Ssl    0:01 /home/garrison/julia/usr/bin/julia -Cnative -J/home/garrison/julia/usr/lib/julia/sys.ji --bind-to 192.168.1.101 --worker

I would have hoped that a UNIX domain socket would be used if all the workers are on the local machine. (Failing that, binding to localhost would make a lot more sense, although this is still problematic from a security standpoint.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    parallelismParallel or distributed computation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions