2min
|
Writers
|
Updated 04 Jul 2020
Print

Using custom ports

To use ports other than default 3000, 4000, 8000 and 8080 edit the strove.json file in the root folder of your project and add your desired ports to an array in "ports" field.

Document image
Location of the strove.json file in an example project

This is a strove.json file that adds ports 4040 and 4041 to available ports:

JavaScript

The total number of ports you can can use is 9, including the default 3000, 4000, 8000 and 8080 ports.

Note that project has to be stopped and started again once strove.json is modified to apply changes.