Make Signal K listen to IP

Im trying to figure out where the config file is located , my goal is to make Signal K listen to "server": { "host": "192.168.15.201", "port": 3000 }, Ive only found settings.json in the .signalk but adding the above to the file doensts do the the trick. Any suggestions?
16 Replies
Tore Dahl
Tore Dahl3mo ago
Is a normal dataconnection not working? What hides behind that IP? SIgnalK on standard port?
No description
Teppo Kurki
Teppo Kurki3mo ago
You don’t need to specify the server’s address and 3000 is the default port. There are no configuration options like what you are using Just start the server, it will listen on port 3000 and the server’s address
Tore Dahl
Tore Dahl3mo ago
I understand now I completely misread the question 🙂 Unless your SignalK is not on IP 192.168.15.201....but you want to connect to that IP from SignalK...
Chisburgers
ChisburgersOP3mo ago
hmm, maybe I was a bit unclear 🙂 1. Im running signal K on RPI 2. i have an device (kindle) with IP 192.168.15.201 which has a USBnetwork and connected to the RPI via an USB cable which i can SSH to 3. the kindle has a browser which i want to use inorder to load signal K locally. 4. I was told that I need to set the webserver (signal K !?) to listen for the kindle IP ( 192.168.15.201) then run 192.168.15.201:3000 in the device browser
Tore Dahl
Tore Dahl3mo ago
As long as you have a TCPIP connection the SignalK should answer, as Teppo stated default port is 3000 🙂 I do not think you can tell SignalK to respond to a specific IP...
Tore Dahl
Tore Dahl3mo ago
Assuming you can access with a computer or any other device i.e. not the Kindle you should be able to access the settings..
No description
Tore Dahl
Tore Dahl3mo ago
In my case I need to access on 3443 for web UI since SSL is on. Or rather 3000 is redirected to 3443, but I have gotten used to always use 3443 🙂
Teppo Kurki
Teppo Kurki3mo ago
please, ssl has nothing to do with this, just adds confusion
Teppo Kurki
Teppo Kurki3mo ago
if your setup is like in https://wiki.mobileread.com/wiki/USBNetwork then your RPi has ip address 192.168.15.201 and kindle 192.168.15.244
Chisburgers
ChisburgersOP3mo ago
yeah, thats exctly correct
Teppo Kurki
Teppo Kurki3mo ago
the advice need to set the webserver (signal K !?) to listen for the kindle IP ( 192.168.15.201) is not right - an RPi can have multiple addresses (one for ethernet, another for wifi for example) - a web server, like signalk server, can listen for incoming connection son all or some of the addresses. SK server listens on all the addresses, so you don't need to do anything if you can ssh to the kindle it probably works the other way also and you can just enter 192.168.15.201:3000 in the kindle browser i fear the sk user interface is too modern & heavyweight for the kindle's browser though
Chisburgers
ChisburgersOP3mo ago
wow it works 😄 192.168.15.201:3000 did the trick
Teppo Kurki
Teppo Kurki3mo ago
there are two webapps made for kindle: lightweight and simple
No description
Teppo Kurki
Teppo Kurki3mo ago
maybe try those?
Chisburgers
ChisburgersOP3mo ago
yeah, saw that. (y)
Tore Dahl
Tore Dahl3mo ago
Sorry if I added to the confusion when trying to help 🙂 Problem solved by Teppo as usual 🙂
Want results from more Discord servers?
Add your server