1. Home
  2. Framework
  3. How to change the port the Snapt Aria UI runs on

How to change the port the Snapt Aria UI runs on

If you are running a Snapt Aria bundle or VM image you will notice that by default the server runs on port 8080.

This may be undesirable as you may want to use that port for something else.

Please see the steps below to make the necessary changes.


Option 1: Snapt Aria VM Image

When making use of the Offical Snapt Aria VM Image, the directory in which on the config file is stored is:

/etc/lighttpd

We then want to make use of your preferred text editor (VIM or Nano, etc.) to open the file called:

lighttpd.conf

Changing the port:

You can now change the “server.port” to your desired port.

 

Option 2: Snapt Aria Bundle Install

When making use of the Snapt Aria Bundle Install, the process is the same for changing the port, but the directory is slightly different.

/usr/local/snapt/etc

We then want to make use of your preferred text editor (VIM or Nano, etc.) to open the file called:

lighttpd.conf

Changing the port:

You can now change the “server.port” to your desired port.

Restarting the Snapt Aria UI

After you’ve made the port changes, and save the “lighttpd.conf” you’ll need to restart the Snapt Aria UI for the change to take effect.

Step 1: Stopping the UI

Run the command below. This will stop the UI

killall lighttpd

Step 2: Starting the UI

VM Image:

 systemctl start lighttpd

Snapt Bundle:

/usr/local/snapt/start.sh
Updated on March 25, 2020


Was this article helpful?

Related Articles