Win Webserver Not Working
#16
I've never really looked at my xbmc.log before and don't know what all the entries mean but could any of these indicate why webserver isn’t working:

18:28:13 T:8688 DEBUG: JSONRPC: JSON schema type stereoscopicmode references an unknown type GUI.Stereoscopy.Mode
18:28:13 T:8688 WARNING: JSONRPC: Could not parse type "GUI.Property.Value"
18:28:13 T:8688 INFO: JSONRPC: Adding type "GUI.Property.Value" to list of incomplete definitions (waiting for
"GUI.Stereoscopy.Mode")

Or this:
18:28:13 T:8688 WARNING: JSONRPC: Could not parse type "Setting.Details.SettingList"

Why IP 127.0.0.1, what should this be, that ip isn't on my network?
18:28:14 T:9148 DEBUG: CRemoteControl::Connect - connecting to: 127.0.0.1:24000 ...

What does this indicate:
18:28:15 T:9148 DEBUG: CRemoteControl::Connect - failed to connect
18:28:15 T:9148 INFO: CRemoteControl:Tonguerocess - failed to connect to irss, will keep retrying every 5 seconds
Reply
#17
127.0.0.1 is a loopback IP. That means the same computer it originated at.

The CRemoteControl is something else and is normal.

JSONRPC is how you can send commands to XBMC. I would assume the error you listed above is just due to the 3D video settings in the GUI and JSONRPC doens't have the hooks to understand those settings.

I have all those same Warnings in my logs.

What are the other leads you gathered from your Google search?

Looks like you are not alone and you found another thread with the same issue. If you don't have any other issues I will merge these threads together.
Reply
#18
With XBMC closed, open a command prompt and type:
Code:
netstat -an |find /i "listening"

See what ports are currently being used. See if the port you have been trying to use is already in use.

You can also use:
Code:
netstat -anob | findstr "##"
Where ## is the port is question. This will show what is using the port. In the results, find the port in the 2nd column. In the last column is the PID of the task using that port.

Then knowing the PID, use:
Code:
tasklist /FI "PID eq ####"
Where #### is the PID number you got from the last step.
Reply
#19
Hey awesome, your the only one helping meSmile Thanks again kricker.

Well I was able to figure out most of those leads on my own last night with no success.

One was to delete the portable folder.

The other was to setup port forwarding on my modem for tcp and udp. However I assume that for Tcp I forward the webserver port not the 9090 port. in all the remote apps I've used there is a reference to "9090" in the address after the webserver port, what is this and how can I check if this is the correct one to use?

The other one was to check for an ANOD filtering property being turned on in my Ethernet card. I checked my properties and I couldn't find this, perhaps due to using a different Ethernet card then the poster.

I'm still thinking it has to do with a conflict on my system with the port number I use. How do I check my Windows system to see what ports are being used?

Some one actually reported having a problem getting a connection that actually solved itself after a week or so. They didn't indicate the exact same problem I'm having though, i.e.. The webserver button not staying lit when I exit and return to xbmc.
Reply
#20
I replied with some tips to check just that in the other thread you replied to regarding the webserver:
http://forum.kodi.tv/showthread.php?tid=...pid1864922

I think I'll merge your thread into that one, since it appears to be the same issue.

EDIT:
Merge done.
Reply
#21
Okay cool thanks again. I'll check this out tonight and see what port I should be using.
Reply
#22
Okay what do you make of this. My system shows 80 port being used, but when I ran the other command to determine what is using 80, nothing is listed.
https://dl.dropboxusercontent.com/u/1228...result.JPG

Did I do the command wrong?
Reply
#23
I just noticed that 9090 is also being used. I asked this before, but what is the 2nd port in the address when adding the server in the smartphone app:
https://www.dropbox.com/s/s2t0r52ke5xew2...2.png?dl=0

Here's my list of used ports, is there anything suspicious, other then port 80 being used but web server doesn't seem to be turned on:
https://dl.dropboxusercontent.com/u/1228...20used.JPG
Reply
#24
I think 9090 goes to the JSON rpc.

Did you do those commands with XBMC closed?

Try:
Code:
netstat -ao | find /i "listening"
That should give you the PID in the last column.
Reply
#25
Yes XBMC was closed. Does this indicate a problem?
Reply
#26
Yes it does. Both ports XBMC is designed to use are being taken. You can change the ports, but first I'd see what is using them.

Look at my post I just edited above. Use that code to find the PID of the app using those ports.
Reply
#27
Ah hah, interesting. I'll give that new command a try and see if we can see what's using it.

Thanks again.
Reply
#28
Okay I ran that command and there was 2 different pid identified for ports 80 and 9090 as follows:
port 80 - pid 4
port 9090 - pid 6712

This tells the following:
https://dl.dropboxusercontent.com/u/1228...ed%203.JPG

So I don't know what the system means for 4, but the 6712 is apparently used by my Logitech squeezebox for streaming my music collection.

So if 9090 is being used how do I change that, and is that why I can't connect my xbmc webserver?

The 80 port being used shouldn't be a problem as I have tried numerous ports that aren't being used with no luck so maybe it's the 9090 that is causing my issue of the webserver not to turn on?

perhaps I should post the full list of pid on my system associated with my used ports, here it is
https://dl.dropboxusercontent.com/u/1228...ed%204.JPG
and
https://dl.dropboxusercontent.com/u/1228...ed%205.JPG
Reply
#29
You can change both ports. In the advancedsettngs.xml file I believe you can change the JSONrpc port from 9090. As you know you change the webserver port in the XBMC settings GUI.
Reply
#30
where do I find the advancedsettngs.xml file? I've never had to edit this file before, maybe I have to create one myself.
Reply

Logout Mark Read Team Forum Stats Members Help
Webserver Not Working0