From b2040903250e41e0b4ce4b4563dfc76cfa348f2c Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Wed, 5 Nov 2025 11:00:09 +0000 Subject: [PATCH] testserver: remind developers about allocating a port --- fstest/testserver/init.d/README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/fstest/testserver/init.d/README.md b/fstest/testserver/init.d/README.md index df6bf4d46..c9acd92a2 100644 --- a/fstest/testserver/init.d/README.md +++ b/fstest/testserver/init.d/README.md @@ -25,7 +25,7 @@ opened their TCP ports. ## Writing new scripts A docker based server or an `rclone serve` based server should be easy -to write. Look at once of the examples. +to write. Look at one of the examples. `run.bash` contains boilerplate to be included in a bash script for interpreting the command line parameters. This does reference counting @@ -41,3 +41,8 @@ implementations. It contains implementations of `stop()` and based implementations. It contains implementations of `stop()` and `status()` so all you have to do is write a `start()` function which should call the `run()` function provided. + +Any external TCP or UDP ports used should be unique as any of the +servers might be running together. So please create a new line in the +[PORTS](PORTS.md) file to allocate your server a port. Bind any ports +to localhost so they aren't accessible externally.