Kodi Community Forum
Port 9090 not listening XBMC Live - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Port 9090 not listening XBMC Live (/showthread.php?tid=101797)



Port 9090 not listening XBMC Live - BigNoid - 2011-05-18

I have a problem with xbmc live. On my windows machine XBMC is listening op tcp 9090, but on my XBMC live box, with a git compiled XBMC, using the script from this post: http://forum.xbmc.org/showpost.php?p=738445&postcount=36, there is nothing listening on tcp 9090.

Code:
telnet localhost 9090
Trying ::1...
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
Code:
root@XBMCLive:~# netstat -tpl | grep 9090
root@XBMCLive:~# netstat -tpl | grep 8888
tcp        0      0 *:8888                  *:*                     LISTEN      1418/xbmc.bin
I think the relevant line in the debug is
Code:
ERROR: JSONRPC Server: Failed to connect to sdpd
but searching for that only gives me results on some bluetooth service. I really don't have a clue as to what is wrong here. Any help would be appreciated.
debug log:
http://pastebin.com/pBSyH2dk


- vikjon0 - 2011-05-19

I cant help you but it was interesting to read that xbmc should listen on 9090 since SABnzbd is defaulting https to 9090 I believe. We need a htpc & NAS port list it seems..


- X3lectric - 2011-05-19

change the port on the xbmc-live and try again.


- BigNoid - 2011-05-19

Okay, I found the problem.
This commit added bluetooth support:
https://github.com/elupus/xbmc/commit/010f74a3b75a40dc4832e86bd8e22e3ca1f208d7
I don't know how, but libbluetooth-dev was installed on my system. Because of that json tries to connect to the sdpd service and fails because I have no bluetooth on my rig.
removing that package solved my problem.


- X3lectric - 2011-05-19

odd, thats has to be a bug then.... Cause bluetooth has 0 relation to anything outside bluetooth.

I have noticed different problems related to other installed packages, my solution was to remove them as well though other users disagree and say I give bad advice.

Not that reporting bugs has much effect 90% of the time.


- topfs2 - 2011-05-19

EDIT: Duplicate


- topfs2 - 2011-05-19

That commit adds bluetooth to the tcp server of jsonrpc, it should not interfere with normal announcement on localhost but if it does submit a bug report.

Looking at your log all I can tell is that the bluetooth part is failing, not the entire tcp server


- BigNoid - 2011-05-19

Yeah, on my system it failed to start the announcement server, which I could only tell because there was nothing listening on 9090. After removing libbluetooth-dev xbmc was listening on 9090. I figure it can't exit the routine properly if the session is empty. It completely skips the routine if libbluetooth is not installed.
I submitted a ticket here: http://trac.xbmc.org/ticket/11557