Boblight and remote client

I have the boblight server running on pi and blinkstick pro can be seen as a device. I have boblight client running from an android device and it wont connect to server. I have tried amending both ips from android to point to the server and the server to point to the client. I even changed the server ip in boblight.conf to 0.0.0.0 as i read that this will listen to all ranges but still no joy. Boblight client on android has updated all libraries.

Has anyone had any issues with this i followed the instructions to the letter. When i run kodi and boblight client on same pi they connect so i know things are at least working locally.

I’ve also checked the ports and the pi is listening on the correct port.

pi@raspberrypi:~ $ sudo netstat -lptu
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost:19333 : LISTEN 375/boblightd
tcp 0 0 :ssh : LISTEN 511/sshd
tcp6 0 0 [::]:ssh [::]:
LISTEN 511/sshd
udp 0 0 *:mdns : 306/avahi-daemon: r
udp 0 0 :54310 : 306/avahi-daemon: r
udp 0 0 :bootpc : 510/dhcpcd
udp 0 0 192.168.0.16:ntp : 527/ntpd
udp 0 0 localhost:ntp : 527/ntpd
udp 0 0 :ntp : 527/ntpd
udp6 0 0 [::]:56742 [::]:
306/avahi-daemon: r
udp6 0 0 [::]:mdns [::]:
306/avahi-daemon: r
udp6 0 0 localhost:ntp [::]:
527/ntpd

Changed everything but something is still listening on local pi

InitLog) start of log /home/pi/.boblight/boblightd.log
(PrintFlags) starting boblightd
(CConfig::LoadConfigFromFile) opening /etc/boblight.conf
(CConfig::CheckConfig) checking config lines
(CConfig::CheckConfig) config lines valid
(CConfig::BuildConfig) building config
(CConfig::BuildConfig) built config successfully
(main) starting devices
(CClientsHandler::Process) opening listening socket on 127.0.0.1:19333
(CClientsHandler::Process) ERROR: bind() 127.0.0.1:19333 Address already in use
(CDevice::Process) device1: starting
(CDevice::Process) device1: setting up
(CDeviceBlinkstick::SetupDevice)device1: found BlinkStick at bus 1 address 5, se rial is BS003556-2.2
(CDeviceBlinkstick::SetupDevice)device1: BlinkStick is initialized, bus 1 device address 5
(CDevice::Process) device1: setup succeeded
(CClientsHandler::Process) opening listening socket on 127.0.0.1:19333
(CClientsHandler::Process) ERROR: bind() 127.0.0.1:19333 Address already in use
(CClientsHandler::Process) opening listening socket on 127.0.0.1:19333
(CClientsHandler::Process) ERROR: bind() 127.0.0.1:19333 Address already in

This means that there is some other process running which is using the port. You can find out which process is listening on the port by running the following command:

netstat -tulpn
1 Like