FAQs

Port Binding

Enable dxflow to bind to privileged ports (below 1024) when running as non-root user

Generally, binding to ports under 1024 requires root permissions, so you can either run dxflow as the root user or configure port permissions using the operating system-specific methods described below.

Default ports

dxflow uses these default ports based on boot flags:

FlagPortProtocolDescription
--http80HTTPDefault web interface
--https443HTTPSSecure web interface

You can configure custom ports in your configuration profile if the defaults conflict with existing services.

Linux

Run with sudo, or grant the bind capability so dxflow can use privileged ports as a non-root user (recommended):

sudo /path/to/dxflow                                            # simplest
sudo setcap 'cap_net_bind_service=+ep' /path/to/dxflow          # recommended

macOS

Run with sudo, or forward the privileged port to an unprivileged one (recommended):

sudo /path/to/dxflow                                            # simplest
# Forward port 80 to 8080
echo "rdr pass inet proto tcp from any to any port 80 -> 127.0.0.1 port 8080" | sudo pfctl -ef -

Windows

Run as Administrator, or add URL ACLs so any user can bind the ports (recommended):

# Run as Administrator, then:
/path/to/dxflow.exe
# Or grant ACLs:
netsh http add urlacl url=http://+:80/ user=Everyone
netsh http add urlacl url=https://+:443/ user=Everyone