Run the example

  1. Run the script without arguments to use the default values(ip:127.0.0.1, port:31501):
# bash run.sh
  1. Or run it with IP and port:
# bash run.sh  127.0.0.1 31501