How to change web service's port?
1.Open server.js with editor:
sudo nano /usr/bin/AXView30/SensorNetwork/Webservices/server.js
2.Modify the port setting:
// set our application port
var port = process.env.PORT || 8080;
3.Change port number to 3088
.
// set our application port
var port = process.env.PORT || 3088;
4.Reboot the device, and you'll see AXView 3.0 is running on port 3088
.
Last updated
Was this helpful?