Author: Adam <git@apiote.xyz>
change default port
server2.sh | 4 ++--
diff --git a/server2.sh b/server2.sh index c00882cd4991892a7c759b060d895e9b89556a82..143dca93c5678fa3b04df2c1074e6a912f4829a2 100755 --- a/server2.sh +++ b/server2.sh @@ -18,14 +18,14 @@ $program [-p port] [docroot] $program -h - -p port : specify listening port number; defaults to 10080 + -p port : specify listening port number; defaults to 1313 -h : print this help and quit docroot : specify document root directory; defaults to the current directory EOF } # default listening port -port=10080 +port=1313 # Configure in accordance with your environment nc=$(command -v nc) || true