INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: server is not working  (Read 2854 times)

ibejar

  • Recent member
  • *
  • Posts: 6
server is not working
« on: October 12, 2007, 09:32:02 pm »

I have not been able to get the server to work:
Have the same (latest) version on both machines
The firewall (Windows LiveOneCare) has port 80 open in both directions on both machines
MC has been added to the list of programs allowed by the firewall on both machines
Neither machine has a web server

From all I read the above is the checklist for trobleshooting the server connection but still the client does not find it by itself or when I tell it to search for libraries.
My network is fine as I can play from either machine MP3s on the other machine.

Any thoughts on what else to try would be appreciated.
Logged

benn600

  • Citizen of the Universe
  • *****
  • Posts: 3849
  • Living: Santa Monica CA Hometown: Cedar Rapids IA
Re: server is not working
« Reply #1 on: October 12, 2007, 09:44:07 pm »

Are they on a local network or internet?  Try entering the IP address and then add the port number explicity, ":80" and also try different ports.

I'm sure you tried the auto detect.  Make sure to restart Media Center after a failed attempt to load a library because it will say it failed without retrying.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71663
  • Where did I put my teeth?
Re: server is not working
« Reply #2 on: October 12, 2007, 09:49:46 pm »

Under Servers and Devices in the tree on Media Center, is Library Server set correctly and running?
Logged

ibejar

  • Recent member
  • *
  • Posts: 6
Re: server is not working
« Reply #3 on: October 13, 2007, 06:11:24 am »

The two machines are in a home network and they see and access each other's shared files fine.
The server is on on the server.  I found the following log on the server side but unfortunately it does not help me.


10/13/07 06:26:09 - JRiver Library Server Version 1.0.37 starting...
10/13/07 06:26:09 - Trying Port 80
10/13/07 06:26:09 - Starting Auto Detect beacon
10/13/07 06:26:09 - Running on Port 80
10/13/07 06:42:23 - Received request for a file: HNAP1/
10/13/07 06:42:26 - Received request for a file: TEADevInfo/
10/13/07 06:42:29 - Error sharing file, no file requested
10/13/07 07:02:26 - Received request for a file: HNAP1/
10/13/07 07:02:29 - Received request for a file: TEADevInfo/
10/13/07 07:02:32 - Error sharing file, no file requested
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71663
  • Where did I put my teeth?
Re: server is not working
« Reply #4 on: October 13, 2007, 06:16:26 am »

I'm not certain, but I don't think Library Server is talking with an MC client machine.  It looks like something else is talking to Library Server.

Try a different port. 

When you start the client machine, are you searching for servers?  Or connecting to the specific IP address?  Both should work, but try the second if you haven't.
Logged

ibejar

  • Recent member
  • *
  • Posts: 6
Re: server is not working
« Reply #5 on: October 13, 2007, 06:41:27 am »

I opened port 80-89 on both machines but the client, after being restarted, still does not find a server when I go to File/Library/Seach servers. I'm not sure how to connect to a specific IP address.

In the meantime this is what the server log looks like:

10/13/07 07:29:59 - JRiver Library Server Version 1.0.37 starting...
10/13/07 07:29:59 - Trying Port 80
10/13/07 07:29:59 - Starting Auto Detect beacon
10/13/07 07:29:59 - Running on Port 80

It is apparently sitting there waiting to serve but did not record my attempt on the client to access the server.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71663
  • Where did I put my teeth?
Re: server is not working
« Reply #6 on: October 13, 2007, 06:44:36 am »

Add an entry to Library Manager.  Examples are there.

The log says the server started normally and is ready.  You're correct that it doesn't see a client connecting. 

You're still running on port 80.  You can change that in the options for LS.
Logged

ibejar

  • Recent member
  • *
  • Posts: 6
Re: server is not working
« Reply #7 on: October 13, 2007, 09:30:45 am »

I put the server on port 89;
On the client, through Library manager, I added a library with the same IP address and added ":89" at the end. I believe that is the right syntax.
Howver, it still did not find it.
Back at the server, the log says it is running on port 89.  However, the pattern that it is emerging is that after a few minutes something seems to be trying to access the server.  See the following log since I restarted the program about 3 hours ago. Do any of the labels mean anything in MC?  I have no idea what else could be running that would have a dialog between the two machines. 

10/13/07 07:29:59 - JRiver Library Server Version 1.0.37 starting...
10/13/07 07:29:59 - Trying Port 80
10/13/07 07:29:59 - Starting Auto Detect beacon
10/13/07 07:29:59 - Running on Port 80
10/13/07 07:42:35 - Received request for a file: HNAP1/
10/13/07 07:42:38 - Received request for a file: TEADevInfo/
10/13/07 07:42:41 - Error sharing file, no file requested
10/13/07 08:02:38 - Received request for a file: HNAP1/
10/13/07 08:02:41 - Received request for a file: TEADevInfo/
10/13/07 08:02:44 - Error sharing file, no file requested
10/13/07 08:22:43 - Received request for a file: HNAP1/
10/13/07 08:22:46 - Received request for a file: TEADevInfo/
10/13/07 08:22:49 - Error sharing file, no file requested
10/13/07 08:42:46 - Received request for a file: HNAP1/
10/13/07 08:42:49 - Received request for a file: TEADevInfo/
10/13/07 08:42:52 - Error sharing file, no file requested
10/13/07 09:02:52 - Received request for a file: HNAP1/
10/13/07 09:02:55 - Received request for a file: TEADevInfo/
10/13/07 09:02:58 - Error sharing file, no file requested
10/13/07 09:22:53 - Received request for a file: HNAP1/
10/13/07 09:22:56 - Received request for a file: TEADevInfo/
10/13/07 09:22:59 - Error sharing file, no file requested
10/13/07 09:42:59 - Received request for a file: HNAP1/
10/13/07 09:43:02 - Received request for a file: TEADevInfo/
10/13/07 09:43:06 - Error sharing file, no file requested
10/13/07 10:03:03 - Received request for a file: HNAP1/
10/13/07 10:03:06 - Received request for a file: TEADevInfo/
10/13/07 10:03:09 - Error sharing file, no file requested
10/13/07 10:13:41 - Server Stopped
10/13/07 10:13:41 - JRiver Library Server Version 1.0.37 starting...
10/13/07 10:13:41 - Starting Auto Detect beacon
10/13/07 10:13:41 - Running on Port 89
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71663
  • Where did I put my teeth?
Re: server is not working
« Reply #8 on: October 13, 2007, 09:52:58 am »

Try a google search on HNAP.  It's a protocol.  I don't think it's ours.

It's possible that your network is set up so that the requests are being blocked by your router.

You could try a traceroute to the server.  Start/Run/CMD/tracert [ip address]
Logged

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re: server is not working
« Reply #9 on: October 13, 2007, 09:53:11 am »

First, something else is trying to access your machine on port 80 - thats the TEADevInfo stuff.

Second, your client is not actually hitting the server, according to your logs. Look for things like a firewall, NAT, misconfigured port on the client, misconfigured IP address on the client.

j

benn600

  • Citizen of the Universe
  • *****
  • Posts: 3849
  • Living: Santa Monica CA Hometown: Cedar Rapids IA
Re: server is not working
« Reply #10 on: October 13, 2007, 10:44:28 am »

I would really suggest not using port 80.  Security by obscurity is great and is easy to get by just using a non-standard port.  Besides, it stops you from running a web server--which I personally have done for years.
Logged

ibejar

  • Recent member
  • *
  • Posts: 6
Re: server is not working
« Reply #11 on: October 14, 2007, 09:07:38 am »

The HNAP (Home Network Administration Protocol, http://www.networkmagic.com/hnap.php) is comming from Network Magic, a utility I use for printer and file sharing.  Among the things that it does is give you the topology of the devices you have on your network and so it needs to poke around.  It is a good bet the TEADevInfo/ is coming from them too but I have not heard from them yet.
Logged

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re: server is not working
« Reply #12 on: October 14, 2007, 10:12:24 am »

The network magic traffic shouldn't mess up your library server communication, it'll just dump messages to the log as you've seen. Something else is going on.

Try the steps in the wiki:
http://wiki.jrmediacenter.com/index.php/Library_Server#Tracking_Down_Problems

benn - security by obscurity is not great.

j

benn600

  • Citizen of the Universe
  • *****
  • Posts: 3849
  • Living: Santa Monica CA Hometown: Cedar Rapids IA
Re: server is not working
« Reply #13 on: October 14, 2007, 12:48:16 pm »

Quote
benn - security by obscurity is not great.

I'm relying on your security!  The only option I have is obscurity (other than SSL tunneling).  It's great in that it's an easy way to really help.  I don't think I ever get random IP addresses trying to connect.
Logged

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re: server is not working
« Reply #14 on: October 14, 2007, 03:22:08 pm »

I'd suggest a firewall. -- j

benn600

  • Citizen of the Universe
  • *****
  • Posts: 3849
  • Living: Santa Monica CA Hometown: Cedar Rapids IA
Re: server is not working
« Reply #15 on: October 14, 2007, 05:47:13 pm »

I have one.  But I have to open the port used by MC in the firewall or it won't work.
Logged

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re: server is not working
« Reply #16 on: October 14, 2007, 08:03:14 pm »

Firewalls filter both by source and by destination... -- j

benn600

  • Citizen of the Universe
  • *****
  • Posts: 3849
  • Living: Santa Monica CA Hometown: Cedar Rapids IA
Re: server is not working
« Reply #17 on: October 14, 2007, 10:01:08 pm »

Honestly, I'm not worried.  I use Smoothwall and do believe I can only allow traffic incoming on certain ports.  But it's not a big deal.  Yes, I only use library server from one static IP address but then when I go on vacation or leave, then I'm required to login to my computer and adjust my firewall.  I haven't had any problems yet so it's not worth the extra hassle.
Logged
Pages: [1]   Go Up