json webserver connetion problems
#1
hi all i'm fairly new here long time lurker but never needed to post.
my problems started when lookin into the json-rpc trying to code a little app the main problm was i could not make it connect so i decided to try yatse which i also cannot get to connect i also cant connect to the default web server i just get a 404 Server Error in Application "DEFAULT WEB SITE" (all on the same machine)
http://img442.imageshack.us/img442/6856/xbmcv.jpg

above is the settings for xbmc and yaste2 im using the latest stable release dharma

any hlp greatly apprcated thanks tim

p.s in the xbmclog there is this line
19:51:24 T:3636 M:1152741376 NOTICE: ES: Starting UDP Event server on 127.0.0.1:9777
19:51:24 T:3636 M:1152712704 NOTICE: UDP: Listening on port 9777
19:52:16 T:2964 M:1146589184 WARNING: Failed to find previously selected audio sink
19:56:40 T:2964 M:1190043648 NOTICE: starting upnp server
19:56:42 T:2964 M:1189572608 NOTICE: starting upnp renderer
19:56:45 T:2964 M:1188265984 NOTICE: Webserver: Starting...
19:56:45 T:2964 M:1187557376 ERROR: WebServer: Failed to start the webserver
20:00:05 T:2964 M:1039192064 NOTICE: ES: Stopping event server with confirmation
Reply
#2
Pastebin entire debug log, there are explanations how to do so in my signature and on wiki.
If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

Image

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Reply
#3
here is the requested full debug log

http://pastebin.com/xrNUGaK6

thanks tim
Reply
#4
Have you already got something using the port the webserver is configured to use? I think by default the webserver uses port 80. With XBMC closed, open a command prompt and run:

Code:
netstat -an | find ":80 "

(note the space between :80 and the closing "). When I do this I get:

Code:
D:\temp>netstat -an | find ":80 "
  TCP    0.0.0.0:80             0.0.0.0:0              LISTENING

telling me that something is already listening on port 80 (quite correct because I have IIS installed and it uses port 80). If you find this is the case try configuring the web server to use a different port like 81 or 82.

JR
Reply
#5
perfect thanks for our help i to have iis with runs on port 80 change xbmc's port and now yatse will connect so i can try to get my vb.net program to connet as well

thank tim
Reply

Logout Mark Read Team Forum Stats Members Help
json webserver connetion problems0