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
Is a normal dataconnection not working?
What hides behind that IP? SIgnalK on standard port?
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
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...
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
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...
Assuming you can access with a computer or any other device i.e. not the Kindle you should be able to access the settings..
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 🙂
please, ssl has nothing to do with this, just adds confusion
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
yeah, thats exctly correct
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
wow
it works
😄
192.168.15.201:3000 did the trick
there are two webapps made for kindle: lightweight and simple
maybe try those?
yeah, saw that.
(y)
Sorry if I added to the confusion when trying to help 🙂
Problem solved by Teppo as usual 🙂