Make RuBAN Listen to Different Port

Introduction

This article shows you how to make RuBAN listen to a port other than 58000/80.


Prerequisites

Kube version of RuBAN installed.

Instructions

  1. Logon to server terminal.

  2. Run below commands:

docker stop nginx
docker rm nginx
docker run -d --name nginx --restart=unless-stopped -v /etc/nginx/conf.d/default.conf:/etc/nginx/conf.d/default.conf -p 80:80 -p <desired port number>:80 nginx

    3. Verify that we are now listening on desired port:

netstat -l -p -n -t