This repository has been archived by the owner on May 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
Jsonrpc port taken
othrayte edited this page Aug 21, 2012
·
3 revisions
If TU is not scrobbling or showing rating dialogs and the message "ERROR: JSONRPC Server: Failed to bind serversocket" appears in XBMCs log file then XBMC has not been able to bind the JSONRPC port. TU needs to connect to this socket/port to enable scrobbling and rating dialogs. By default the port is number 9090 (tcp). Known reasons that this might fail are
- Other programs using that port Possible programs that might conflict
- Logitech Media Server (formerly Squeezebox Server)
- Weird firewall settings
One possible solution if you can't use port 9090 is to change which port XBMC uses, to do this you need to add the following setting to your advanced settings file, if you don't know what that is see [this XBMC wiki article](http://wiki.xbmc.org/index.php?title=Userdata/advancedsettings.xml).
<advancedsettings>
<jsonrpc>
<tcpport>9999</tcpport>
</jsonrpc>
</advancedsettings>
tn = telnetlib.Telnet('localhost', 9090, 10)