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

How to change the port Snapt runs on?

If you are running a Snapt 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.

To change the port go to /usr/local/snapt/etc on your server and then edit the file lighttpd.conf.

 

If you are using our image go to /etc/lighttpd and edit the file lighttpd.conf.

 

When editing you will see the port setting as shown below:

 

Here you can change the port to the one you wish and then you can run the following command

killall lighttpd

/usr/local/snapt/start.sh

Updated on November 21, 2018


Was this article helpful?

Related Articles