OpenMarine
SignalK Node Server - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: How do I...? (https://forum.openmarine.net/forumdisplay.php?fid=3)
+--- Thread: SignalK Node Server (/showthread.php?tid=1580)



SignalK Node Server - sitesurfer - 2018-11-19

I want to move the signal k server port for web socket ONLY to port 80, reading the specs on github- it suggests that the ports may be set differently and independently.

Using the signal-k-setup script doesnt allow to alter ports indiviually, and the docs are sparse, none of the example files offer much in the way of illumination.

Any ideas what the syntax is for the settings.json file?

Clearly "port" : 3000 is the default, but I want to know what the syntax is for the ws port alone please?

I've tried obvious ones like "wsport" and "ws_port"


RE: SignalK Node Server - PaddyB - 2018-11-19

Maybe ask the signalk guys direct at slack?

 http://slack-invite.signalk.org


RE: SignalK Node Server - e-sailing - 2018-11-19

(I am sure it was in SignalK admin-ui but can't fint it. )
You can find it in the file /home/pi/.signalk/settings.json.
],
"port":3000,
"security":{


SignalK Node Server - tkurki - 2018-11-20

Http and ws port is one and the same, they are not configurable separately without changes in code.

I am curious: why would you want to configure ws port separately?



Sent from my iPhone using Tapatalk


RE: SignalK Node Server - Sailoog - 2018-11-20

I think this is he is working on
http://forum.openmarine.net/showthread.php?tid=1578