Skip to content

Commit 98b9522

Browse files
committed
docs: note that combined shellypro3em is also affected by 1010 bind
The combined shellypro3em device type expands to both _old and _new listeners, so it binds 1010 as well.
1 parent dcf1815 commit 98b9522

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1012,7 +1012,7 @@ A: Ports below 1024 require root privileges on Linux. Solutions:
10121012
- Use `setcap` to grant permissions
10131013
- Run as root (not recommended)
10141014

1015-
Note: the Docker image runs as a non-root user, so binding port 1010 (`shellypro3em_old`) still fails with `PermissionError: [Errno 13]` under `network_mode: host`. Either lower the host's privileged-port range (`sudo sysctl -w net.ipv4.ip_unprivileged_port_start=1010`, persist via `/etc/sysctl.d/`) or run the container as root (`user: "0:0"` in compose). Publishing the port via bridge networking does **not** work, because the Marstek discovery packets are UDP broadcasts to the subnet address and aren't forwarded by Docker's port mapping.
1015+
Note: the Docker image runs as a non-root user, so binding port 1010 (used by `shellypro3em_old` and the combined `shellypro3em`, which starts both listeners) still fails with `PermissionError: [Errno 13]` under `network_mode: host`. Port 2220 (`shellypro3em_new`) is unaffected. Either lower the host's privileged-port range (`sudo sysctl -w net.ipv4.ip_unprivileged_port_start=1010`, persist via `/etc/sysctl.d/`) or run the container as root (`user: "0:0"` in compose). Publishing the port via bridge networking does **not** work, because the Marstek discovery packets are UDP broadcasts to the subnet address and aren't forwarded by Docker's port mapping.
10161016

10171017
### I get parsing errors on startup or the app crashes.
10181018

0 commit comments

Comments
 (0)