Hi,
I'm running kodi 17.6 on ubuntu 18.05 x86_64.
I have enabled web service enabled for http port 8080 and in kod log I can see that service starts:
Quote:...
23:37:29.140 T:140496019682496 NOTICE: CWebServer[8080]: Started
...
No further messages in the log :-(
But when I start my browser on same machine with
http://localhost:8080 I get an http page, but with message
Quote:Connection to server lost
Port 8080 is bind to kodi.
Quote:$ netstat -tulpen | grep 8080
(Es konnten nicht alle Prozesse identifiziert werden; Informationen über
nicht-eigene Processe werden nicht angezeigt; Root kann sie anzeigen.)
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 1000 38671247 16267/kodi.bin
tcp6 0 0 :::8080 :::* LISTEN 1000 38671246 16267/kodi.bin
I also tried different other ports. Same issue.
Any idea, what's going wrong ?
Perhaps you forgot to enable the ports 8080, 9090 and 9777 in your UFW firewall? Those are the ports used in Kore's remote settings.
Hi,
no known firewall running.
Quote:$ sudo ufw status
[sudo] Passwort für xxx:
Status: Inaktiv
Can you upgrade to version 18 of kodi, we changed the way we bind to interfaces in there.
Edit: Also provide ifconfig output please
@
fritsch webserver (libmicrohttpd) always did the binding correct.
The previous way (v17) of binding tcp ports also worked if binding to the world (INADDR_ANY or IN6ADDR_ANY_INIT) which happens here.
So @
Rechi what do you think is the issue?
(2018-07-21, 23:57)rb01 Wrote: [ -> ]But when I start my browser on same machine with http://localhost:8080 I get an http page, but with message, Connection to server lost
I was too focused on the webserver, but the site actually gets loaded only websocket connection fails.
The issue sounds like what was fixed at
https://github.com/xbmc/xbmc/pull/13012 for v17.6.
Please post netstat -lt | egrep "8080|9090|9777" and a complete
Debug Log (wiki) where you open the webinterface.
Sorry forgotten: I added it in browser firefox
In the meantime I've tried Chromium browser. But same result: Connection to server lost
For completeness: Connecting from a remote machine, e.g. your mobile phone with the enp2s0 ip - does that work?
Edit:
Quote:11:36:24.663 T:139759559541952 NOTICE: Kodi from Debian compiled from 2:17.6+dfsg1-1ubuntu1 by GCC 6.4.0 for Linux x86 64-bit version 4.15.15 (265999)
^^ Sorry, those guys fuck it up every time they touch kodi. Any chance to test it with our ppa instead?
Hi,
No. Connection to
http://192.168.178.27:8080 is not working.
But I think this belongs to configuration that "remote control with other computers" (I hope is correct translated, because I have german version) is switched off.
Only "remote control with this computer is allowed" is switched on.
So do you think it is because of ubuntu version and I should try version from kodi ppa ?
I can try this, when I didn't get a solution with current installation here.
For now I don't know what the problem is. Therefore I want to rule out "external failure" means: debian ships > 24 patches in their kodi which do a lot of things that are not supported by us and even worse, we cannot even verify what is happening as they remove certain libraries shipped by us and replacing them with their system libs.
To be honest: I don't know - but it's worth a try.
Make sure to remove every kodi package before adding the ppa and installing kodi from there, please. They even changed their packaging so it is incompatible to ours.
The port you obviously already changed to e.g. 8081 or something like that, right?
Hi all,
thanks all for your help.
Now I found another posting here (I have not found before):
same problem
So I will remove kodi and will install from ppa.
Keep you updated.